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.002606/0.002606, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.003101/0.003101, allocations: 165.6 kB / 24.27 MB, free: 156 kB / 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 1.544/1.544, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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.312/0.312, allocations: 29.4 MB / 290.5 MB, free: 2.422 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.859e-05/3.062e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.008915/0.008945, allocations: 5.445 MB / 374.3 MB, free: 5.832 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007447/0.01639, allocations: 4.001 MB / 378.3 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004607/0.01685, allocations: 23.81 kB / 378.4 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01267/0.02953, allocations: 5.485 MB / 383.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00117/0.0307, allocations: 357.8 kB / 384.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007327/0.03143, allocations: 263.4 kB / 384.5 MB, free: 11.69 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002648/0.03408, allocations: 1.68 MB / 386.1 MB, free: 10 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006429/0.03472, allocations: 320.4 kB / 386.4 MB, free: 9.691 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.03573, allocations: 0.5025 MB / 386.9 MB, free: 9.188 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007413/0.03647, allocations: 426.7 kB / 387.4 MB, free: 8.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.03657, allocations: 48 kB / 387.4 MB, free: 8.723 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003392/0.03691, allocations: 123.7 kB / 387.5 MB, free: 8.602 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003591/0.03727, allocations: 311.2 kB / 387.8 MB, free: 8.297 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003309/0.0376, allocations: 211.5 kB / 388 MB, free: 8.09 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.03879, allocations: 0.7593 MB / 388.8 MB, free: 7.328 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.0388, allocations: 0 / 388.8 MB, free: 7.328 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.0388, allocations: 0 / 388.8 MB, free: 7.328 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.03881, allocations: 0 / 388.8 MB, free: 7.328 MB / 362.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.001991/0.0408, allocations: 0.9879 MB / 389.8 MB, free: 6.297 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.04084, allocations: 15.91 kB / 389.8 MB, free: 6.281 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005733/0.04141, allocations: 140.4 kB / 389.9 MB, free: 6.145 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.04266, allocations: 0.499 MB / 390.4 MB, free: 5.621 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.291e-05/0.04271, allocations: 33.38 kB / 390.5 MB, free: 5.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.04281, allocations: 55.88 kB / 390.5 MB, free: 5.535 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009735/0.04378, allocations: 0.5206 MB / 391 MB, free: 4.965 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.04381, allocations: 4 kB / 391.1 MB, free: 4.961 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.196e-05/0.04386, allocations: 16 kB / 391.1 MB, free: 4.945 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001476/0.04401, allocations: 48.95 kB / 391.1 MB, free: 4.898 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006459/0.04466, allocations: 291.6 kB / 391.4 MB, free: 4.613 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004418/0.04907, allocations: 2.673 MB / 394.1 MB, free: 1.812 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004988/0.04957, allocations: 245 kB / 394.3 MB, free: 1.535 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.0498, allocations: 115.6 kB / 394.4 MB, free: 1.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.252e-05/0.04984, allocations: 16 kB / 394.4 MB, free: 1.395 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.04989, allocations: 45.31 kB / 394.5 MB, free: 1.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 2.134e-06/0.04989, allocations: 0 / 394.5 MB, free: 1.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.002453/0.05234, allocations: 1.018 MB / 395.5 MB, free: 280 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.05247, allocations: 106.8 kB / 395.6 MB, free: 148 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006956/0.05316, allocations: 0.4987 MB / 396.1 MB, free: 15.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.0532, allocations: 33.7 kB / 396.1 MB, free: 15.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003704/0.05357, allocations: 386.8 kB / 396.5 MB, free: 15.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.05372, allocations: 142.8 kB / 396.7 MB, free: 15.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.0539, allocations: 103.8 kB / 396.8 MB, free: 14.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003565/0.05426, allocations: 0.5547 MB / 397.3 MB, free: 14.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.05447, allocations: 92.89 kB / 397.4 MB, free: 14.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.05487, allocations: 289.8 kB / 397.7 MB, free: 13.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00063/0.0555, allocations: 409.2 kB / 398.1 MB, free: 13.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.0555, allocations: 0 / 398.1 MB, free: 13.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001244/0.05674, allocations: 0.5391 MB / 398.6 MB, free: 12.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.05676, allocations: 8 kB / 398.6 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.05677, allocations: 8.031 kB / 398.6 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007273/0.0575, allocations: 175.1 kB / 398.8 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/0.05785, allocations: 79.89 kB / 398.9 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005233/0.06309, allocations: 4.164 MB / 403.1 MB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003487/0.06344, allocations: 23.92 kB / 403.1 MB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.232e-05/0.06348, allocations: 16 kB / 403.1 MB, free: 8.188 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 (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.0003255/0.0638, allocations: 216.4 kB / 403.3 MB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.06393, allocations: 59.66 kB / 403.4 MB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008697/0.0648, allocations: 372.7 kB / 403.7 MB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.06481, allocations: 4 kB / 403.7 MB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.06481, allocations: 0 / 403.7 MB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.06482, allocations: 7.984 kB / 403.7 MB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.06658, allocations: 0.902 MB / 404.6 MB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.06659, allocations: 7.938 kB / 404.6 MB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004455/0.06704, allocations: 71.89 kB / 404.7 MB, free: 6.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001912/0.06723, allocations: 51.41 kB / 404.8 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-05/0.06727, allocations: 11.98 kB / 404.8 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003145/0.07041, allocations: 3.468 MB / 408.2 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.07041, allocations: 0 / 408.2 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.07155, allocations: 0.7348 MB / 409 MB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.07175, allocations: 79.56 kB / 409.1 MB, free: 1.836 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.299e-05/0.07181, allocations: 20.08 kB / 409.1 MB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.07206, allocations: 8 kB / 409.1 MB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.182e-05/0.07213, allocations: 35.88 kB / 409.1 MB, free: 1.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-05/0.07217, allocations: 12 kB / 409.1 MB, free: 1.762 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003718/0.07254, allocations: 315 kB / 409.4 MB, free: 1.457 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07254, allocations: 0 / 409.4 MB, free: 1.457 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006227/0.07316, allocations: 132 kB / 409.6 MB, free: 1.328 MB / 378.7 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.0001578/0.07332, allocations: 111.2 kB / 409.7 MB, free: 1.211 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.07474, allocations: 0.7347 MB / 410.4 MB, free: 448 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.07474, allocations: 8.125 kB / 410.4 MB, free: 440 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006741/0.07542, allocations: 483.2 kB / 410.9 MB, free: 15.92 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007067/0.07612, allocations: 93.66 kB / 411 MB, free: 15.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.07842, allocations: 1.259 MB / 412.2 MB, free: 14.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/0.07885, allocations: 328.8 kB / 412.6 MB, free: 14.17 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002837/0.07913, allocations: 88.28 kB / 412.7 MB, free: 14.08 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.07926, allocations: 44.48 kB / 412.7 MB, free: 14.04 MB / 394.7 MB Notification: Performance of SimCode: time 1.382e-06/0.07926, allocations: 0 / 412.7 MB, free: 14.04 MB / 394.7 MB Notification: Performance of Templates: time 0.01407/0.09333, allocations: 6.324 MB / 419 MB, free: 7.82 MB / 394.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) [Timeout 240] 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.074036645004526]