Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.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.001982/0.001982, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 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.001624/0.001624, allocations: 210.4 kB / 23.73 MB, free: 4.41 MB / 14.72 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 1.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] 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.2251/0.2251, allocations: 38.55 MB / 352.5 MB, free: 12.44 MB / 286.1 MB " [Timeout remaining time 179] 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: translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 59.91 kB / 493 MB, free: 4.246 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3598, allocations: 62.47 MB / 0.5424 GB, free: 456 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.007953/0.3677, allocations: 5.192 MB / 0.5475 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006679/0.3744, allocations: 3.828 MB / 0.5512 GB, free: 9.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003767/0.3748, allocations: 22.59 kB / 0.5513 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01123/0.386, allocations: 5.373 MB / 0.5565 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.3871, allocations: 350.3 kB / 0.5568 GB, free: 5.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007277/0.3878, allocations: 255.5 kB / 0.5571 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00265/0.3904, allocations: 1.633 MB / 0.5587 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006339/0.3911, allocations: 324.3 kB / 0.559 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006047/0.3917, allocations: 390.5 kB / 0.5594 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007194/0.3924, allocations: 462.2 kB / 0.5598 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.538e-05/0.3925, allocations: 48 kB / 0.5598 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000337/0.3928, allocations: 119.7 kB / 0.56 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003221/0.3932, allocations: 283.2 kB / 0.5602 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000336/0.3935, allocations: 266.7 kB / 0.5605 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.3945, allocations: 0.7548 MB / 0.5612 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3945, allocations: 0 / 0.5612 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.248e-06/0.3945, allocations: 4 kB / 0.5612 GB, free: 0.957 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.3945, allocations: 3.984 kB / 0.5612 GB, free: 0.9531 MB / 398.1 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.001759/0.3963, allocations: 0.853 MB / 0.5621 GB, free: 72 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3963, allocations: 11.98 kB / 0.5621 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004821/0.3968, allocations: 92.53 kB / 0.5622 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.398, allocations: 0.4887 MB / 0.5626 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.006e-05/0.398, allocations: 33 kB / 0.5627 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.759e-05/0.3981, allocations: 47.98 kB / 0.5627 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.3992, allocations: 0.6453 MB / 0.5633 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/0.3992, allocations: 11.91 kB / 0.5634 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.327e-05/0.3993, allocations: 27.98 kB / 0.5634 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001456/0.3994, allocations: 44.97 kB / 0.5634 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008479/0.4003, allocations: 491.6 kB / 0.5639 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00372/0.404, allocations: 2.264 MB / 0.5661 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005461/0.4045, allocations: 299.5 kB / 0.5664 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002723/0.4048, allocations: 166.5 kB / 0.5666 GB, free: 11.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.4048, allocations: 4 kB / 0.5666 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/0.4049, allocations: 46.5 kB / 0.5666 GB, free: 11.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 4.478e-06/0.4049, allocations: 3.984 kB / 0.5666 GB, free: 11.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.002612/0.4075, allocations: 1.266 MB / 0.5678 GB, free: 9.887 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.342e-05/0.4076, allocations: 106.8 kB / 0.5679 GB, free: 9.758 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005374/0.4081, allocations: 409.7 kB / 0.5683 GB, free: 9.348 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.118e-05/0.4082, allocations: 33.7 kB / 0.5684 GB, free: 9.309 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002713/0.4084, allocations: 324 kB / 0.5687 GB, free: 8.988 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.4086, allocations: 126.9 kB / 0.5688 GB, free: 8.863 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.4087, allocations: 90.14 kB / 0.5689 GB, free: 8.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.4089, allocations: 354.8 kB / 0.5692 GB, free: 8.414 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/0.4092, allocations: 160.9 kB / 0.5694 GB, free: 8.258 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004743/0.4097, allocations: 297.2 kB / 0.5697 GB, free: 7.906 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007524/0.4104, allocations: 495.6 kB / 0.5701 GB, free: 7.363 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.4104, allocations: 4 kB / 0.5701 GB, free: 7.359 MB / 414.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001443/0.4119, allocations: 0.7125 MB / 0.5708 GB, free: 6.633 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.4119, allocations: 6.969 kB / 0.5708 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.4119, allocations: 4.469 kB / 0.5708 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006915/0.4126, allocations: 209.5 kB / 0.571 GB, free: 6.414 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.4129, allocations: 79.81 kB / 0.5711 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005668/0.4186, allocations: 3.945 MB / 0.575 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003745/0.419, allocations: 23.98 kB / 0.575 GB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.241e-05/0.419, allocations: 20 kB / 0.575 GB, free: 2.148 MB / 414.1 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 (40): * Single equations (assignments): 38 * 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.0003814/0.4194, allocations: 225.6 kB / 0.5752 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.4195, allocations: 55.61 kB / 0.5753 GB, free: 1.863 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009461/0.4205, allocations: 486.9 kB / 0.5757 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.4205, allocations: 4.031 kB / 0.5757 GB, free: 1.375 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4205, allocations: 11.88 kB / 0.5758 GB, free: 1.363 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.4205, allocations: 7.984 kB / 0.5758 GB, free: 1.355 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001833/0.4223, allocations: 0.8994 MB / 0.5766 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.4223, allocations: 3.938 kB / 0.5766 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004506/0.4228, allocations: 79.94 kB / 0.5767 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001858/0.423, allocations: 53.67 kB / 0.5768 GB, free: 272 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.423, allocations: 8 kB / 0.5768 GB, free: 264 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002599/0.4256, allocations: 2.59 MB / 0.5793 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4256, allocations: 0 / 0.5793 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.4269, allocations: 0.8032 MB / 0.5801 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002143/0.4272, allocations: 79.64 kB / 0.5802 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/0.4272, allocations: 8 kB / 0.5802 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.4275, allocations: 11.98 kB / 0.5802 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.462e-05/0.4276, allocations: 31.89 kB / 0.5802 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/0.4276, allocations: 15.98 kB / 0.5802 GB, free: 12.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000402/0.428, allocations: 267.1 kB / 0.5805 GB, free: 12.22 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.428, allocations: 0 / 0.5805 GB, free: 12.22 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007706/0.4288, allocations: 136 kB / 0.5806 GB, free: 12.09 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1],rotor.w) * 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 (35): * Single equations (assignments): 32 * 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.0002055/0.429, allocations: 115.1 kB / 0.5807 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001537/0.4305, allocations: 0.7204 MB / 0.5814 GB, free: 11.22 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.4305, allocations: 0 / 0.5814 GB, free: 11.22 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006193/0.4311, allocations: 409.1 kB / 0.5818 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007646/0.4319, allocations: 105.5 kB / 0.5819 GB, free: 10.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003064/0.435, allocations: 1.501 MB / 0.5834 GB, free: 9.152 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00046/0.4354, allocations: 344.8 kB / 0.5837 GB, free: 8.789 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003143/0.4357, allocations: 100.2 kB / 0.5838 GB, free: 8.688 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.4359, allocations: 43.42 kB / 0.5839 GB, free: 8.645 MB / 430.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4359, allocations: 4 kB / 0.5839 GB, free: 8.641 MB / 430.1 MB Notification: Performance of Templates: time 0.01469/0.4505, allocations: 7.01 MB / 0.5907 GB, free: 1.723 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4763265661895275] Failed to read output from testmodel.py, exit status != 0: 0.46002141758799553 0.474422277 0.076670256 Calling exit ...