Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 183 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 225.7 MB / 243.2 MB, free: 8.488 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 97.3 kB / 294.4 MB, free: 9.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.3027/0.3027, allocations: 38.13 MB / 383.6 MB, free: 40.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004191/0.0004193, allocations: 11.98 kB / 453.5 MB, free: 8.773 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3473, allocations: 59.13 MB / 0.5006 GB, free: 39.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.007484/0.3549, allocations: 5.637 MB / 0.5061 GB, free: 37.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007349/0.3623, allocations: 6.174 MB / 0.5121 GB, free: 32.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007872/0.3631, allocations: 34.03 kB / 0.5122 GB, free: 32.74 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007945/0.3711, allocations: 4.584 MB / 0.5166 GB, free: 31.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001162/0.3722, allocations: 319.8 kB / 0.5169 GB, free: 31.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008086/0.3731, allocations: 229.2 kB / 0.5172 GB, free: 31.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002412/0.3755, allocations: 2.14 MB / 0.5193 GB, free: 30.74 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007371/0.3762, allocations: 0.6891 MB / 0.5199 GB, free: 30.21 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003364/0.3766, allocations: 317.1 kB / 0.5202 GB, free: 30.1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004645/0.3771, allocations: 438.7 kB / 0.5206 GB, free: 29.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.989e-05/0.3771, allocations: 25.81 kB / 0.5207 GB, free: 29.95 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002513/0.3774, allocations: 116.3 kB / 0.5208 GB, free: 29.91 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.3776, allocations: 246.4 kB / 0.521 GB, free: 29.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.3778, allocations: 323.9 kB / 0.5213 GB, free: 29.64 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004809/0.3783, allocations: 0.708 MB / 0.522 GB, free: 29.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3783, allocations: 0 / 0.522 GB, free: 29.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.3783, allocations: 0 / 0.522 GB, free: 29.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.3783, allocations: 0 / 0.522 GB, free: 29.43 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001239/0.3796, allocations: 0.7959 MB / 0.5228 GB, free: 28.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.3796, allocations: 10.72 kB / 0.5228 GB, free: 28.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003804/0.38, allocations: 94.77 kB / 0.5229 GB, free: 28.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007939/0.3808, allocations: 0.5379 MB / 0.5234 GB, free: 28.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.3809, allocations: 41.92 kB / 0.5235 GB, free: 28.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.721e-05/0.381, allocations: 45.16 kB / 0.5235 GB, free: 28.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007905/0.3818, allocations: 0.6456 MB / 0.5241 GB, free: 28.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.3818, allocations: 10.23 kB / 0.5241 GB, free: 28.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.176e-05/0.3818, allocations: 19.16 kB / 0.5242 GB, free: 28.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001166/0.382, allocations: 45.16 kB / 0.5242 GB, free: 28.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006385/0.3826, allocations: 490.1 kB / 0.5247 GB, free: 27.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002624/0.3852, allocations: 2.531 MB / 0.5271 GB, free: 26.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/0.3857, allocations: 320.5 kB / 0.5275 GB, free: 25.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.3859, allocations: 183.7 kB / 0.5276 GB, free: 25.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.3859, allocations: 17.58 kB / 0.5276 GB, free: 25.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.386, allocations: 37.34 kB / 0.5277 GB, free: 25.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 2.575e-06/0.386, allocations: 4 kB / 0.5277 GB, free: 25.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.002197/0.3882, allocations: 1.677 MB / 0.5293 GB, free: 24.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.3882, allocations: 116.2 kB / 0.5294 GB, free: 24.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003637/0.3886, allocations: 413.5 kB / 0.5298 GB, free: 24.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.3886, allocations: 32.8 kB / 0.5299 GB, free: 24.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.3888, allocations: 314.2 kB / 0.5302 GB, free: 24.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.055e-05/0.3889, allocations: 131.9 kB / 0.5303 GB, free: 23.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-05/0.3889, allocations: 11.38 kB / 0.5303 GB, free: 23.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.187e-05/0.389, allocations: 358.7 kB / 0.5306 GB, free: 23.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.3892, allocations: 169 kB / 0.5308 GB, free: 23.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.3895, allocations: 295 kB / 0.5311 GB, free: 23.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004982/0.39, allocations: 0.4959 MB / 0.5316 GB, free: 23.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.39, allocations: 2.969 kB / 0.5316 GB, free: 23.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00112/0.3911, allocations: 0.801 MB / 0.5323 GB, free: 22.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3911, allocations: 11.2 kB / 0.5324 GB, free: 22.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.3911, allocations: 5.875 kB / 0.5324 GB, free: 22.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005923/0.3917, allocations: 203.6 kB / 0.5326 GB, free: 22.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/0.3921, allocations: 83.59 kB / 0.5326 GB, free: 22.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003411/0.3955, allocations: 3.872 MB / 0.5364 GB, free: 19.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.3958, allocations: 24.47 kB / 0.5364 GB, free: 19.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.3959, allocations: 19.84 kB / 0.5365 GB, free: 19.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002963/0.3962, allocations: 231.1 kB / 0.5367 GB, free: 19.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.01e-05/0.3963, allocations: 53.75 kB / 0.5367 GB, free: 19.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007966/0.3971, allocations: 0.6433 MB / 0.5374 GB, free: 18.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.3971, allocations: 3.188 kB / 0.5374 GB, free: 18.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3971, allocations: 3.156 kB / 0.5374 GB, free: 18.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.3971, allocations: 3.375 kB / 0.5374 GB, free: 18.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.3986, allocations: 1.247 MB / 0.5386 GB, free: 18.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3986, allocations: 0 / 0.5386 GB, free: 18.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004374/0.399, allocations: 80.02 kB / 0.5387 GB, free: 18.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001476/0.3992, allocations: 58.17 kB / 0.5387 GB, free: 18.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/0.3992, allocations: 18.72 kB / 0.5387 GB, free: 18.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/0.4005, allocations: 2.623 MB / 0.5413 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4005, allocations: 7.188 kB / 0.5413 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000924/0.4014, allocations: 0.974 MB / 0.5423 GB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.4016, allocations: 151.6 kB / 0.5424 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.213e-05/0.4017, allocations: 17.19 kB / 0.5424 GB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.4019, allocations: 9.094 kB / 0.5424 GB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.402, allocations: 26.48 kB / 0.5425 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.402, allocations: 16.38 kB / 0.5425 GB, free: 14.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002935/0.4023, allocations: 289.1 kB / 0.5427 GB, free: 14.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4023, allocations: 0 / 0.5427 GB, free: 14.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005702/0.4029, allocations: 138.8 kB / 0.5429 GB, free: 14.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.w_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1]) * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001711/0.4031, allocations: 117.1 kB / 0.543 GB, free: 14.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00112/0.4042, allocations: 0.7405 MB / 0.5437 GB, free: 13.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4042, allocations: 0 / 0.5437 GB, free: 13.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004311/0.4047, allocations: 431.1 kB / 0.5441 GB, free: 13.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000761/0.4054, allocations: 104.6 kB / 0.5442 GB, free: 13.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.4076, allocations: 1.854 MB / 0.546 GB, free: 12.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.4079, allocations: 0.9497 MB / 0.547 GB, free: 11.69 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003233/0.4083, allocations: 108.2 kB / 0.5471 GB, free: 11.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.4084, allocations: 37.33 kB / 0.5471 GB, free: 11.66 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.4084, allocations: 0 / 0.5471 GB, free: 11.66 MB / 378.7 MB Notification: Performance of Templates: time 0.01437/0.4228, allocations: 6.449 MB / 0.5534 GB, free: 10.76 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1)