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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 189.4 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.188/0.188, allocations: 38.55 MB / 346.3 MB, free: 2.156 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 67.89 kB / 484.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.4422, allocations: 61.29 MB / 0.533 GB, free: 5.578 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.006534/0.4487, allocations: 5.552 MB / 0.5385 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006511/0.4552, allocations: 4.207 MB / 0.5426 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004649/0.4557, allocations: 28.56 kB / 0.5426 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0114/0.4671, allocations: 5.467 MB / 0.5479 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.4686, allocations: 340.7 kB / 0.5483 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.4696, allocations: 250.6 kB / 0.5485 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003142/0.4728, allocations: 1.648 MB / 0.5501 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007541/0.4735, allocations: 275.8 kB / 0.5504 GB, free: 9.633 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009519/0.4745, allocations: 383.2 kB / 0.5507 GB, free: 9.426 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001137/0.4756, allocations: 493.8 kB / 0.5512 GB, free: 9.129 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002219/0.4759, allocations: 49.72 kB / 0.5513 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005784/0.4764, allocations: 129.3 kB / 0.5514 GB, free: 9.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004686/0.4769, allocations: 282.1 kB / 0.5517 GB, free: 8.898 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007214/0.4776, allocations: 317.9 kB / 0.552 GB, free: 8.691 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001548/0.4792, allocations: 0.7536 MB / 0.5527 GB, free: 8.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4792, allocations: 0 / 0.5527 GB, free: 8.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4792, allocations: 0 / 0.5527 GB, free: 8.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.673e-05/0.4792, allocations: 0 / 0.5527 GB, free: 8.008 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.002328/0.4816, allocations: 0.8492 MB / 0.5535 GB, free: 7.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.4816, allocations: 15.98 kB / 0.5535 GB, free: 7.113 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005197/0.4821, allocations: 96.42 kB / 0.5536 GB, free: 7.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.4833, allocations: 496.5 kB / 0.5541 GB, free: 6.508 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.4833, allocations: 36.94 kB / 0.5541 GB, free: 6.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.4834, allocations: 59.92 kB / 0.5542 GB, free: 6.414 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.4845, allocations: 0.6452 MB / 0.5548 GB, free: 5.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/0.4845, allocations: 4 kB / 0.5548 GB, free: 5.727 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.882e-05/0.4846, allocations: 19.98 kB / 0.5548 GB, free: 5.707 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001494/0.4848, allocations: 48.95 kB / 0.5549 GB, free: 5.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007886/0.4855, allocations: 495.6 kB / 0.5554 GB, free: 5.176 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003596/0.4891, allocations: 2.459 MB / 0.5578 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005083/0.4896, allocations: 299.5 kB / 0.5581 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002648/0.4899, allocations: 166.5 kB / 0.5582 GB, free: 2.098 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.4899, allocations: 4.5 kB / 0.5582 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.49, allocations: 42.55 kB / 0.5583 GB, free: 2.043 MB / 398.1 MB Notification: Performance of pre-optimization done (n=32): time 2.024e-06/0.49, allocations: 0 / 0.5583 GB, free: 2.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.002981/0.493, allocations: 1.269 MB / 0.5595 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.651e-05/0.4931, allocations: 110.8 kB / 0.5596 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005977/0.4937, allocations: 429.8 kB / 0.56 GB, free: 172 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.009e-05/0.4937, allocations: 29.7 kB / 0.56 GB, free: 136 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003538/0.4941, allocations: 312.3 kB / 0.5603 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.4942, allocations: 126.9 kB / 0.5605 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.4944, allocations: 94.12 kB / 0.5605 GB, free: 15.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002284/0.4946, allocations: 358.7 kB / 0.5609 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004008/0.495, allocations: 164.9 kB / 0.561 GB, free: 15.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005666/0.4956, allocations: 301.1 kB / 0.5613 GB, free: 14.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.4966, allocations: 499.4 kB / 0.5618 GB, free: 14.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.4966, allocations: 0 / 0.5618 GB, free: 14.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002076/0.4987, allocations: 0.7206 MB / 0.5625 GB, free: 13.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.4987, allocations: 4 kB / 0.5625 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.4987, allocations: 4 kB / 0.5625 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008463/0.4996, allocations: 208.3 kB / 0.5627 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/0.4999, allocations: 72.11 kB / 0.5628 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005272/0.5052, allocations: 4.018 MB / 0.5667 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003474/0.5055, allocations: 31.81 kB / 0.5667 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.403e-05/0.5056, allocations: 16 kB / 0.5668 GB, free: 8.867 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.0003507/0.5059, allocations: 233.7 kB / 0.567 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.506, allocations: 43.72 kB / 0.567 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009736/0.507, allocations: 0.4911 MB / 0.5675 GB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.507, allocations: 8.031 kB / 0.5675 GB, free: 8.078 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.507, allocations: 4 kB / 0.5675 GB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.507, allocations: 7.984 kB / 0.5675 GB, free: 8.066 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/0.509, allocations: 1.008 MB / 0.5685 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.509, allocations: 0 / 0.5685 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004894/0.5095, allocations: 75.89 kB / 0.5686 GB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001856/0.5096, allocations: 53.67 kB / 0.5686 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.839e-05/0.5097, allocations: 11.98 kB / 0.5686 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0023/0.512, allocations: 2.636 MB / 0.5712 GB, free: 3.984 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.512, allocations: 0 / 0.5712 GB, free: 3.984 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.5132, allocations: 0.8107 MB / 0.572 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/0.5134, allocations: 71.58 kB / 0.5721 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.624e-05/0.5135, allocations: 16 kB / 0.5721 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.5138, allocations: 11.98 kB / 0.5721 GB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.5138, allocations: 27.89 kB / 0.5721 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.5139, allocations: 12 kB / 0.5721 GB, free: 3.004 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003591/0.5142, allocations: 299.1 kB / 0.5724 GB, free: 2.715 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5142, allocations: 0 / 0.5724 GB, free: 2.715 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006624/0.5149, allocations: 128 kB / 0.5725 GB, free: 2.59 MB / 414.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.0001591/0.515, allocations: 115 kB / 0.5727 GB, free: 2.473 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001541/0.5166, allocations: 0.7164 MB / 0.5734 GB, free: 1.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.5166, allocations: 0 / 0.5734 GB, free: 1.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006004/0.5172, allocations: 413.3 kB / 0.5738 GB, free: 1.301 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007861/0.518, allocations: 127.4 kB / 0.5739 GB, free: 1.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.5207, allocations: 1.502 MB / 0.5753 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007103/0.5215, allocations: 0.9444 MB / 0.5763 GB, free: 14.67 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003176/0.5218, allocations: 100.4 kB / 0.5764 GB, free: 14.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.5219, allocations: 35.44 kB / 0.5764 GB, free: 14.53 MB / 430.1 MB Notification: Performance of SimCode: time 8.61e-07/0.5219, allocations: 0 / 0.5764 GB, free: 14.53 MB / 430.1 MB Notification: Performance of Templates: time 0.0164/0.5383, allocations: 7.287 MB / 0.5835 GB, free: 7.301 MB / 430.1 MB " [Timeout remaining time 659] 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.516179673373699]