Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001548/0.001548, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001805/0.001805, allocations: 211.1 kB / 23.73 MB, free: 4.387 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.574/1.574, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1965/0.1965, allocations: 38.57 MB / 352.5 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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="mat",numberOfIntervals=2500,variableFilter="Time|asynchron.i.1.|asynchron.i.2.|asynchron.i.3.|asynchron.v.1.|asynchron.v.2.|asynchron.v.3.|asynchron.w_el|power.p.1.|power.p.2.|power.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines") translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|asynchron.i.1.|asynchron.i.2.|asynchron.i.3.|asynchron.v.1.|asynchron.v.2.|asynchron.v.3.|asynchron.w_el|power.p.1.|power.p.2.|power.p.3.",fileNamePrefix="PowerSystems_latest_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.00219/0.00219, allocations: 75.89 kB / 493 MB, free: 4.195 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3702, allocations: 62.46 MB / 0.5424 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.009331/0.3795, allocations: 5.197 MB / 0.5475 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008045/0.3876, allocations: 3.82 MB / 0.5512 GB, free: 9.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006631/0.3882, allocations: 23.62 kB / 0.5513 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.012/0.4002, allocations: 5.372 MB / 0.5565 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001235/0.4015, allocations: 346.3 kB / 0.5568 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007752/0.4022, allocations: 255.5 kB / 0.5571 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002434/0.4047, allocations: 1.637 MB / 0.5587 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005949/0.4053, allocations: 316.4 kB / 0.559 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006757/0.4059, allocations: 398.5 kB / 0.5594 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007441/0.4067, allocations: 462.2 kB / 0.5598 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.826e-05/0.4068, allocations: 48 kB / 0.5598 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003286/0.4071, allocations: 119.8 kB / 0.56 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00029/0.4074, allocations: 275.2 kB / 0.5602 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003092/0.4077, allocations: 270.7 kB / 0.5605 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009336/0.4086, allocations: 0.7548 MB / 0.5612 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4086, allocations: 4 kB / 0.5612 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4086, allocations: 0 / 0.5612 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.4086, allocations: 0 / 0.5612 GB, free: 0.9258 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.001734/0.4104, allocations: 0.853 MB / 0.5621 GB, free: 44 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.4104, allocations: 8.031 kB / 0.5621 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004609/0.4109, allocations: 100.5 kB / 0.5622 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.412, allocations: 0.4887 MB / 0.5626 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.658e-05/0.412, allocations: 32.98 kB / 0.5627 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.4121, allocations: 48 kB / 0.5627 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.4131, allocations: 0.6531 MB / 0.5634 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.4132, allocations: 3.938 kB / 0.5634 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.979e-05/0.4132, allocations: 16 kB / 0.5634 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001354/0.4134, allocations: 48.97 kB / 0.5634 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008156/0.4142, allocations: 495.6 kB / 0.5639 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003511/0.4177, allocations: 2.272 MB / 0.5661 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005288/0.4182, allocations: 303.4 kB / 0.5664 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.4185, allocations: 162.5 kB / 0.5666 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/0.4185, allocations: 4 kB / 0.5666 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.4186, allocations: 42.5 kB / 0.5666 GB, free: 11.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 2.024e-06/0.4186, allocations: 0 / 0.5666 GB, free: 11.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.002575/0.4211, allocations: 1.266 MB / 0.5678 GB, free: 9.859 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.522e-05/0.4212, allocations: 111.1 kB / 0.5679 GB, free: 9.727 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004582/0.4217, allocations: 409.8 kB / 0.5683 GB, free: 9.316 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.4217, allocations: 29.7 kB / 0.5684 GB, free: 9.281 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.422, allocations: 324.1 kB / 0.5687 GB, free: 8.961 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.4221, allocations: 123 kB / 0.5688 GB, free: 8.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.4222, allocations: 94.08 kB / 0.5689 GB, free: 8.742 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.4224, allocations: 358.8 kB / 0.5692 GB, free: 8.383 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/0.4227, allocations: 160.9 kB / 0.5694 GB, free: 8.227 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003879/0.4231, allocations: 297.2 kB / 0.5697 GB, free: 7.875 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000681/0.4237, allocations: 491.6 kB / 0.5701 GB, free: 7.336 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4237, allocations: 4 kB / 0.5701 GB, free: 7.332 MB / 414.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001373/0.4251, allocations: 0.7127 MB / 0.5708 GB, free: 6.605 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.4251, allocations: 10.66 kB / 0.5708 GB, free: 6.598 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.4251, allocations: 4 kB / 0.5708 GB, free: 6.594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006594/0.4258, allocations: 205.8 kB / 0.571 GB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.4261, allocations: 79.81 kB / 0.5711 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005255/0.4314, allocations: 3.953 MB / 0.575 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/0.4317, allocations: 23.92 kB / 0.575 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/0.4317, allocations: 16 kB / 0.575 GB, free: 2.113 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.00036/0.4321, allocations: 233.6 kB / 0.5752 GB, free: 1.875 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.4322, allocations: 47.67 kB / 0.5753 GB, free: 1.828 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009633/0.4331, allocations: 498.8 kB / 0.5758 GB, free: 1.332 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.4332, allocations: 4 kB / 0.5758 GB, free: 1.328 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.778e-06/0.4332, allocations: 3.938 kB / 0.5758 GB, free: 1.324 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.4332, allocations: 7.984 kB / 0.5758 GB, free: 1.316 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.4348, allocations: 0.8995 MB / 0.5766 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.4348, allocations: 3.984 kB / 0.5767 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004328/0.4352, allocations: 75.89 kB / 0.5767 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001654/0.4354, allocations: 53.73 kB / 0.5768 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.389e-05/0.4354, allocations: 12 kB / 0.5768 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002218/0.4377, allocations: 2.587 MB / 0.5793 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4377, allocations: 0 / 0.5793 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.4388, allocations: 0.803 MB / 0.5801 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001835/0.439, allocations: 71.64 kB / 0.5802 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.363e-05/0.4391, allocations: 11.98 kB / 0.5802 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.4393, allocations: 16.12 kB / 0.5802 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/0.4394, allocations: 31.89 kB / 0.5802 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.4394, allocations: 11.98 kB / 0.5802 GB, free: 12.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003338/0.4397, allocations: 271.1 kB / 0.5805 GB, free: 12.19 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4397, allocations: 0 / 0.5805 GB, free: 12.19 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006317/0.4404, allocations: 132 kB / 0.5806 GB, free: 12.06 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.0001532/0.4405, allocations: 115.1 kB / 0.5807 GB, free: 11.94 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.4419, allocations: 0.7165 MB / 0.5814 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4419, allocations: 320 / 0.5814 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005863/0.4425, allocations: 413.1 kB / 0.5818 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007065/0.4432, allocations: 115.3 kB / 0.5819 GB, free: 10.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/0.4458, allocations: 1.497 MB / 0.5834 GB, free: 9.121 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.4462, allocations: 348.8 kB / 0.5837 GB, free: 8.754 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000296/0.4465, allocations: 92.31 kB / 0.5838 GB, free: 8.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.4467, allocations: 35.42 kB / 0.5838 GB, free: 8.625 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4467, allocations: 4 kB / 0.5839 GB, free: 8.621 MB / 430.1 MB Notification: Performance of Templates: time 0.01468/0.4613, allocations: 7.027 MB / 0.5907 GB, free: 1.688 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Machines.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.732550792396069]