Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.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.0008711/0.0008711, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0009556/0.0009556, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8783/0.8783, allocations: 177.1 MB / 204.3 MB, free: 5.711 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.2101/0.2101, allocations: 29.41 MB / 290.1 MB, free: 2.441 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.Introductory.ReferenceSynchron,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.ReferenceSynchron,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.886e-06/2.886e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.608e-05, allocations: 3.547 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.004487/0.004513, allocations: 4.308 MB / 434.5 MB, free: 9.277 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.006603, allocations: 1.398 MB / 435.9 MB, free: 7.875 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003342/0.006937, allocations: 23.81 kB / 435.9 MB, free: 7.852 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009034/0.00784, allocations: 358.4 kB / 436.3 MB, free: 7.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006857/0.008526, allocations: 270.5 kB / 436.5 MB, free: 7.234 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006711/0.009197, allocations: 255.2 kB / 436.8 MB, free: 6.984 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005797/0.009777, allocations: 0.5689 MB / 437.3 MB, free: 6.414 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003485/0.01013, allocations: 229.4 kB / 437.6 MB, free: 6.188 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000451/0.01058, allocations: 347 kB / 437.9 MB, free: 5.848 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003704/0.01095, allocations: 343.2 kB / 438.2 MB, free: 5.512 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.948e-05/0.011, allocations: 40 kB / 438.3 MB, free: 5.473 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003955/0.01139, allocations: 235.4 kB / 438.5 MB, free: 5.242 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002069/0.0116, allocations: 251.4 kB / 438.8 MB, free: 4.996 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.01174, allocations: 179.6 kB / 438.9 MB, free: 4.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006577/0.0124, allocations: 0.7127 MB / 439.7 MB, free: 4.105 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.0124, allocations: 0 / 439.7 MB, free: 4.105 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.0124, allocations: 4 kB / 439.7 MB, free: 4.102 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.01241, allocations: 0 / 439.7 MB, free: 4.102 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0009692/0.01338, allocations: 0.7057 MB / 440.4 MB, free: 3.363 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.01342, allocations: 11.98 kB / 440.4 MB, free: 3.352 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.496e-05/0.0135, allocations: 86.64 kB / 440.5 MB, free: 3.258 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004176/0.01391, allocations: 120.5 kB / 440.6 MB, free: 3.141 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004845/0.0144, allocations: 363.9 kB / 440.9 MB, free: 2.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.01442, allocations: 33.36 kB / 441 MB, free: 2.719 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.292e-05/0.01451, allocations: 48.5 kB / 441 MB, free: 2.672 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007648/0.01528, allocations: 0.6766 MB / 441.7 MB, free: 1.957 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.01529, allocations: 0 / 441.7 MB, free: 1.957 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/0.01532, allocations: 16 kB / 441.7 MB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.753e-05/0.01542, allocations: 52.95 kB / 441.8 MB, free: 1.891 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006515/0.01607, allocations: 0.6674 MB / 442.4 MB, free: 1.223 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1632/0.1792, allocations: 2.379 MB / 444.8 MB, free: 53.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003868/0.1796, allocations: 307.8 kB / 445.1 MB, free: 53.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.1798, allocations: 203.5 kB / 445.3 MB, free: 53.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.1798, allocations: 9.922 kB / 445.3 MB, free: 53.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.1798, allocations: 35.3 kB / 445.3 MB, free: 52.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 2.835e-06/0.1799, allocations: 0.8125 kB / 445.3 MB, free: 52.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=43): time 0.001317/0.1812, allocations: 1.286 MB / 446.6 MB, free: 52.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.1812, allocations: 85.42 kB / 446.7 MB, free: 52.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.1814, allocations: 317.9 kB / 447 MB, free: 52.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.1814, allocations: 34.02 kB / 447.1 MB, free: 52.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.577e-05/0.1815, allocations: 261.7 kB / 447.3 MB, free: 52.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.198e-05/0.1815, allocations: 157.5 kB / 447.5 MB, free: 51.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.851e-05/0.1816, allocations: 93.08 kB / 447.6 MB, free: 51.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.274e-05/0.1816, allocations: 351.8 kB / 447.9 MB, free: 51.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.1818, allocations: 201.7 kB / 448.1 MB, free: 51.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.182, allocations: 367 kB / 448.5 MB, free: 51.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003949/0.1824, allocations: 0.5992 MB / 449.1 MB, free: 50.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1824, allocations: 3.094 kB / 449.1 MB, free: 50.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0005538/0.183, allocations: 0.625 MB / 449.7 MB, free: 50.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.183, allocations: 6.562 kB / 449.7 MB, free: 50.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.183, allocations: 6.344 kB / 449.7 MB, free: 50.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.183, allocations: 10.03 kB / 449.7 MB, free: 50.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.1833, allocations: 114.2 kB / 449.8 MB, free: 50.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.1833, allocations: 21.67 kB / 449.8 MB, free: 50.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.1834, allocations: 20.92 kB / 449.9 MB, free: 50.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.85e-05/0.1835, allocations: 29.22 kB / 449.9 MB, free: 50.65 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * 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 initialization (57): * Single equations (assignments): 55 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001665/0.1836, allocations: 214.2 kB / 450.1 MB, free: 50.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/0.1837, allocations: 38.95 kB / 450.1 MB, free: 50.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004786/0.1842, allocations: 493.4 kB / 450.6 MB, free: 50.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/0.1842, allocations: 14.72 kB / 450.6 MB, free: 50.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1842, allocations: 0 / 450.6 MB, free: 50.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1842, allocations: 7.906 kB / 450.6 MB, free: 50.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.1852, allocations: 1.051 MB / 451.7 MB, free: 49.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1852, allocations: 4.031 kB / 451.7 MB, free: 49.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.1854, allocations: 61.48 kB / 451.8 MB, free: 49.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1854, allocations: 14.36 kB / 451.8 MB, free: 49.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.1854, allocations: 11.28 kB / 451.8 MB, free: 49.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.1854, allocations: 3.312 kB / 451.8 MB, free: 49.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.1854, allocations: 4.625 kB / 451.8 MB, free: 49.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005734/0.186, allocations: 0.8106 MB / 452.6 MB, free: 49.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.186, allocations: 36.89 kB / 452.6 MB, free: 49.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.186, allocations: 14.12 kB / 452.6 MB, free: 49.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.1861, allocations: 23.44 kB / 452.7 MB, free: 49.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.1862, allocations: 20.91 kB / 452.7 MB, free: 49.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.1862, allocations: 9.781 kB / 452.7 MB, free: 49.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001072/0.1863, allocations: 216.1 kB / 452.9 MB, free: 49.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1863, allocations: 0 / 452.9 MB, free: 49.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000305/0.1866, allocations: 110.2 kB / 453 MB, free: 49.17 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * 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 (33): * Single equations (assignments): 30 * Array equations: 2 * 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.0007646/0.1874, allocations: 1.406 MB / 454.4 MB, free: 48.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003979/0.1878, allocations: 477.3 kB / 454.9 MB, free: 48.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1878, allocations: 0 / 454.9 MB, free: 48.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.1879, allocations: 197.6 kB / 455.1 MB, free: 48.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.1883, allocations: 75.58 kB / 455.2 MB, free: 48.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/0.191, allocations: 4.316 MB / 459.5 MB, free: 45.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.1911, allocations: 266.4 kB / 459.7 MB, free: 45.33 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001842/0.1913, allocations: 129.8 kB / 459.9 MB, free: 45.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.1915, allocations: 137.7 kB / 460 MB, free: 45.21 MB / 410.7 MB Notification: Performance of SimCode: time 1.172e-06/0.1915, allocations: 6.688 kB / 460 MB, free: 45.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.2139, allocations: 8.752 MB / 468.8 MB, free: 43.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.605/6.819, allocations: 7.281 kB / 468.8 MB, free: 43.78 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron.fmu > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.62328275758773] Failed to read output from testmodel.py, exit status != 0: 6.901785595342517 6.913165546 6.898811651 Calling exit ...