Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9334/0.9334, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2285/0.2285, allocations: 29.41 MB / 290.1 MB, free: 2.445 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.351e-05, allocations: 2.281 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.004826/0.004849, allocations: 5.275 MB / 435.5 MB, free: 8.297 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.006567, allocations: 1.266 MB / 436.7 MB, free: 7.027 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002439/0.006811, allocations: 23.75 kB / 436.8 MB, free: 7.004 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004213/0.007232, allocations: 131 kB / 436.9 MB, free: 6.875 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008193/0.008051, allocations: 397.8 kB / 437.3 MB, free: 6.484 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002896/0.008341, allocations: 135.7 kB / 437.4 MB, free: 6.352 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000687/0.009028, allocations: 0.7746 MB / 438.2 MB, free: 5.574 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/0.009244, allocations: 128.7 kB / 438.3 MB, free: 5.441 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005791/0.009823, allocations: 462.5 kB / 438.8 MB, free: 4.988 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004637/0.01029, allocations: 363 kB / 439.1 MB, free: 4.633 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.861e-05/0.01034, allocations: 36 kB / 439.2 MB, free: 4.598 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.582e-05/0.0104, allocations: 40 kB / 439.2 MB, free: 4.559 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.01055, allocations: 207.3 kB / 439.4 MB, free: 4.355 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.01069, allocations: 171.6 kB / 439.6 MB, free: 4.188 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004812/0.01117, allocations: 0.5295 MB / 440.1 MB, free: 3.656 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.01117, allocations: 0 / 440.1 MB, free: 3.656 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01117, allocations: 0 / 440.1 MB, free: 3.656 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.01118, allocations: 0 / 440.1 MB, free: 3.656 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0009872/0.01217, allocations: 0.7328 MB / 440.8 MB, free: 2.887 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.01221, allocations: 15.98 kB / 440.8 MB, free: 2.871 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.704e-05/0.01228, allocations: 82.7 kB / 440.9 MB, free: 2.781 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.377e-05/0.01234, allocations: 52.61 kB / 441 MB, free: 2.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005386/0.01288, allocations: 420.7 kB / 441.4 MB, free: 2.297 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.0129, allocations: 29.38 kB / 441.4 MB, free: 2.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.892e-05/0.01295, allocations: 48.12 kB / 441.5 MB, free: 2.223 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000721/0.01367, allocations: 0.4961 MB / 442 MB, free: 1.691 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.01368, allocations: 0 / 442 MB, free: 1.691 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.01371, allocations: 16 kB / 442 MB, free: 1.676 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.154e-05/0.01374, allocations: 20.98 kB / 442 MB, free: 1.652 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003798/0.01412, allocations: 363.7 kB / 442.4 MB, free: 1.301 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1625/0.1766, allocations: 1.901 MB / 444.3 MB, free: 53.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/0.177, allocations: 227.8 kB / 444.5 MB, free: 53.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.1771, allocations: 118.8 kB / 444.6 MB, free: 53.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.1772, allocations: 3.219 kB / 444.6 MB, free: 53.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.1772, allocations: 35.91 kB / 444.6 MB, free: 53.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 2.555e-06/0.1772, allocations: 0 / 444.6 MB, free: 53.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008257/0.178, allocations: 0.693 MB / 445.3 MB, free: 53.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.178, allocations: 90 kB / 445.4 MB, free: 53.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.1783, allocations: 397.1 kB / 445.8 MB, free: 53.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.1783, allocations: 29.7 kB / 445.8 MB, free: 53.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.719e-05/0.1783, allocations: 289.7 kB / 446.1 MB, free: 52.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.1784, allocations: 84.7 kB / 446.2 MB, free: 52.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.1784, allocations: 82.08 kB / 446.3 MB, free: 52.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.178e-05/0.1785, allocations: 353.5 kB / 446.6 MB, free: 52.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.258e-05/0.1786, allocations: 87.02 kB / 446.7 MB, free: 52.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.1787, allocations: 276 kB / 447 MB, free: 52.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.1789, allocations: 401.5 kB / 447.4 MB, free: 51.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1789, allocations: 7.297 kB / 447.4 MB, free: 51.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004022/0.1793, allocations: 448.9 kB / 447.8 MB, free: 51.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1793, allocations: 6.031 kB / 447.8 MB, free: 51.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1793, allocations: 9.969 kB / 447.8 MB, free: 51.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001412/0.1795, allocations: 57.98 kB / 447.9 MB, free: 51.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.1796, allocations: 80.47 kB / 448 MB, free: 51.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006963/0.1803, allocations: 1.504 MB / 449.5 MB, free: 50.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.1805, allocations: 18.66 kB / 449.5 MB, free: 50.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.1805, allocations: 25.03 kB / 449.5 MB, free: 50.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.1806, allocations: 203 kB / 449.7 MB, free: 50.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.1806, allocations: 42.44 kB / 449.7 MB, free: 50.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001995/0.1808, allocations: 242.7 kB / 450 MB, free: 50 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1808, allocations: 5.906 kB / 450 MB, free: 50 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.1808, allocations: 1.5 kB / 450 MB, free: 50 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1808, allocations: 0 / 450 MB, free: 50 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004963/0.1813, allocations: 0.6531 MB / 450.6 MB, free: 49.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1813, allocations: 0 / 450.6 MB, free: 49.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.1815, allocations: 47.06 kB / 450.7 MB, free: 49.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1815, allocations: 0 / 450.7 MB, free: 49.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.1815, allocations: 10.31 kB / 450.7 MB, free: 49.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1815, allocations: 3.188 kB / 450.7 MB, free: 49.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1815, allocations: 3.938 kB / 450.7 MB, free: 49.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.1817, allocations: 429.7 kB / 451.1 MB, free: 49.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.743e-05/0.1818, allocations: 45 kB / 451.2 MB, free: 49.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.1818, allocations: 7.156 kB / 451.2 MB, free: 49.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.1818, allocations: 10.92 kB / 451.2 MB, free: 49.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.15e-05/0.1819, allocations: 13.41 kB / 451.2 MB, free: 49.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.1819, allocations: 7.281 kB / 451.2 MB, free: 49.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001342/0.182, allocations: 256.2 kB / 451.5 MB, free: 49.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.182, allocations: 6.75 kB / 451.5 MB, free: 49.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002842/0.1823, allocations: 96.03 kB / 451.6 MB, free: 49.13 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003548/0.1827, allocations: 0.9599 MB / 452.5 MB, free: 48.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003821/0.183, allocations: 380.2 kB / 452.9 MB, free: 48.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.183, allocations: 0 / 452.9 MB, free: 48.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.055e-05/0.1831, allocations: 74.28 kB / 453 MB, free: 48.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.1835, allocations: 108.9 kB / 453.1 MB, free: 48.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.1859, allocations: 3.657 MB / 456.7 MB, free: 45.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.186, allocations: 252 kB / 457 MB, free: 45.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001573/0.1862, allocations: 79.3 kB / 457.1 MB, free: 45.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.1863, allocations: 158.9 kB / 457.2 MB, free: 45.41 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1863, allocations: 0 / 457.2 MB, free: 45.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02326/0.2096, allocations: 8.526 MB / 465.7 MB, free: 43.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.145/7.355, allocations: 7.125 kB / 465.7 MB, free: 43.94 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.315882723778486] Failed to read output from testmodel.py, exit status != 0: 7.442236410453916 7.452679848 7.439359887 Calling exit ...