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.001159/0.001159, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001281/0.001281, allocations: 169.1 kB / 24.91 MB, free: 9.199 MB / 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.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.2668/0.2668, allocations: 29.42 MB / 291.2 MB, free: 2.418 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[0-9,]+.|asynchron.v.[0-9,]+.|asynchron.w_el|power.p.[0-9,]+.",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.[0-9,]+.|asynchron.v.[0-9,]+.|asynchron.w_el|power.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Machines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 316.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.669e-05/1.796e-05, allocations: 4.328 kB / 316.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.005075/0.005093, allocations: 5.226 MB / 322.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004505/0.009598, allocations: 3.943 MB / 326 MB, free: 6.777 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000283/0.009881, allocations: 27.75 kB / 326 MB, free: 6.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006514/0.0164, allocations: 5.36 MB / 331.4 MB, free: 1.379 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005044/0.0169, allocations: 361.8 kB / 331.7 MB, free: 1.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004225/0.01732, allocations: 251.4 kB / 332 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001408/0.01873, allocations: 1.664 MB / 333.7 MB, free: 15.1 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003898/0.01912, allocations: 348.9 kB / 334 MB, free: 14.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005267/0.01965, allocations: 0.5143 MB / 334.5 MB, free: 14.24 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004771/0.02012, allocations: 398.8 kB / 334.9 MB, free: 13.85 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.593e-05/0.02018, allocations: 44 kB / 334.9 MB, free: 13.8 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002075/0.02039, allocations: 119.7 kB / 335.1 MB, free: 13.69 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.0206, allocations: 303.2 kB / 335.4 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.02078, allocations: 215.5 kB / 335.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005378/0.02132, allocations: 0.5333 MB / 336.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.02132, allocations: 0 / 336.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.02132, allocations: 4 kB / 336.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.02133, allocations: 4 kB / 336.1 MB, free: 12.64 MB / 314.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.0009193/0.02225, allocations: 0.8044 MB / 336.9 MB, free: 11.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.02229, allocations: 15.98 kB / 336.9 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000313/0.0226, allocations: 104.8 kB / 337 MB, free: 11.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005846/0.02318, allocations: 456.2 kB / 337.5 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.02321, allocations: 37.38 kB / 337.5 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.026e-05/0.02328, allocations: 59.86 kB / 337.6 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004113/0.02369, allocations: 411.5 kB / 338 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.02371, allocations: 7.984 kB / 338 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.02374, allocations: 19.98 kB / 338 MB, free: 10.65 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.219e-05/0.02381, allocations: 48.97 kB / 338.1 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002092/0.02402, allocations: 169.6 kB / 338.2 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.02562, allocations: 1.851 MB / 340.1 MB, free: 8.492 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.02585, allocations: 222.3 kB / 340.3 MB, free: 8.246 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.631e-05/0.02593, allocations: 70.62 kB / 340.4 MB, free: 8.168 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.02595, allocations: 4 kB / 340.4 MB, free: 8.164 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.02598, allocations: 38.56 kB / 340.4 MB, free: 8.117 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 1.593e-06/0.02598, allocations: 4 kB / 340.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.001006/0.02698, allocations: 0.6063 MB / 341 MB, free: 7.465 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.02703, allocations: 110.8 kB / 341.1 MB, free: 7.332 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.02724, allocations: 363.1 kB / 341.5 MB, free: 6.965 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.02727, allocations: 29.7 kB / 341.5 MB, free: 6.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.02739, allocations: 269.1 kB / 341.8 MB, free: 6.664 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.5e-05/0.02747, allocations: 126.9 kB / 341.9 MB, free: 6.539 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.645e-05/0.02756, allocations: 86.09 kB / 342 MB, free: 6.449 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.02767, allocations: 362.7 kB / 342.3 MB, free: 6.086 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.127e-05/0.02774, allocations: 55.8 kB / 342.4 MB, free: 6.027 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.02787, allocations: 177.2 kB / 342.5 MB, free: 5.797 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.02811, allocations: 289.4 kB / 342.8 MB, free: 5.453 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.02811, allocations: 0 / 342.8 MB, free: 5.453 MB / 314.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005072/0.02862, allocations: 410.5 kB / 343.2 MB, free: 5.035 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.02863, allocations: 7.938 kB / 343.2 MB, free: 5.027 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.02864, allocations: 8.438 kB / 343.2 MB, free: 5.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003552/0.029, allocations: 172.2 kB / 343.4 MB, free: 4.844 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.02915, allocations: 75.83 kB / 343.5 MB, free: 4.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/0.03114, allocations: 2.899 MB / 346.4 MB, free: 1.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.03126, allocations: 19.94 kB / 346.4 MB, free: 1.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.03128, allocations: 19.98 kB / 346.4 MB, free: 1.641 MB / 314.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.000126/0.03141, allocations: 140.5 kB / 346.6 MB, free: 1.492 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.381e-05/0.03146, allocations: 35.97 kB / 346.6 MB, free: 1.457 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003262/0.03179, allocations: 284.6 kB / 346.9 MB, free: 1.168 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.03179, allocations: 4 kB / 346.9 MB, free: 1.164 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.0318, allocations: 4 kB / 346.9 MB, free: 1.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.0318, allocations: 3.984 kB / 346.9 MB, free: 1.156 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006899/0.03249, allocations: 0.6007 MB / 347.5 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.0325, allocations: 0 / 347.5 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002065/0.0327, allocations: 75.89 kB / 347.6 MB, free: 452 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001007/0.0328, allocations: 51.44 kB / 347.6 MB, free: 392 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.03282, allocations: 8 kB / 347.6 MB, free: 384 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/0.03383, allocations: 2.378 MB / 350 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.03384, allocations: 4 kB / 350 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000416/0.03426, allocations: 0.5334 MB / 350.5 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.668e-05/0.03432, allocations: 55.64 kB / 350.6 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.03435, allocations: 16.09 kB / 350.6 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.03447, allocations: 8 kB / 350.6 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.03451, allocations: 31.89 kB / 350.6 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.03452, allocations: 7.984 kB / 350.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001094/0.03463, allocations: 144.6 kB / 350.8 MB, free: 12.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03463, allocations: 0 / 350.8 MB, free: 12.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000356/0.03499, allocations: 136 kB / 350.9 MB, free: 12.83 MB / 330.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.0001324/0.03512, allocations: 92.34 kB / 351 MB, free: 12.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006019/0.03572, allocations: 0.5234 MB / 351.5 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/0.03573, allocations: 12 kB / 351.6 MB, free: 12.17 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.03596, allocations: 342.5 kB / 351.9 MB, free: 11.81 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.03634, allocations: 117.7 kB / 352 MB, free: 11.7 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.03787, allocations: 1.126 MB / 353.1 MB, free: 10.53 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001601/0.03803, allocations: 181.7 kB / 353.3 MB, free: 10.33 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.03817, allocations: 60.34 kB / 353.4 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.03834, allocations: 131.3 kB / 353.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of SimCode: time 7.31e-07/0.03834, allocations: 0 / 353.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of Templates: time 0.009154/0.0475, allocations: 6.625 MB / 360.1 MB, free: 3.637 MB / 330.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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.151637916918844]