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.001242/0.001242, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001365/0.001365, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.369/1.369, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.1748/0.1748, allocations: 38.53 MB / 353.2 MB, free: 12.52 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.002167/0.002167, allocations: 71.89 kB / 493.8 MB, free: 4.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2934, allocations: 62.47 MB / 0.5432 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.006979/0.3004, allocations: 5.559 MB / 0.5487 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006322/0.3067, allocations: 4.241 MB / 0.5528 GB, free: 8.895 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003752/0.3071, allocations: 26.59 kB / 0.5528 GB, free: 8.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01015/0.3173, allocations: 5.476 MB / 0.5582 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000908/0.3182, allocations: 346.4 kB / 0.5585 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006563/0.3188, allocations: 263.4 kB / 0.5588 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002222/0.321, allocations: 1.649 MB / 0.5604 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005177/0.3216, allocations: 324.4 kB / 0.5607 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004865/0.322, allocations: 390.6 kB / 0.5611 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006512/0.3227, allocations: 478.3 kB / 0.5615 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.182e-05/0.3228, allocations: 44 kB / 0.5616 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002753/0.323, allocations: 135.7 kB / 0.5617 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002727/0.3233, allocations: 275.2 kB / 0.5619 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003219/0.3236, allocations: 330.3 kB / 0.5623 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008749/0.3245, allocations: 0.7431 MB / 0.563 GB, free: 176 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.3245, allocations: 3.938 kB / 0.563 GB, free: 172 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3245, allocations: 0 / 0.563 GB, free: 172 kB / 398.1 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.3245, allocations: 4 kB / 0.563 GB, free: 168 kB / 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.001629/0.3262, allocations: 0.8532 MB / 0.5638 GB, free: 15.28 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.3262, allocations: 8.031 kB / 0.5638 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004307/0.3266, allocations: 96.47 kB / 0.5639 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.3277, allocations: 0.4887 MB / 0.5644 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/0.3277, allocations: 40.98 kB / 0.5644 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.811e-05/0.3278, allocations: 44 kB / 0.5645 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009749/0.3288, allocations: 0.6531 MB / 0.5651 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.3288, allocations: 0 / 0.5651 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.554e-05/0.3288, allocations: 16 kB / 0.5651 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001429/0.329, allocations: 52.95 kB / 0.5652 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007871/0.3298, allocations: 495.6 kB / 0.5657 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003509/0.3333, allocations: 2.451 MB / 0.5681 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004953/0.3338, allocations: 307.2 kB / 0.5683 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.334, allocations: 166.5 kB / 0.5685 GB, free: 10.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.3341, allocations: 8 kB / 0.5685 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.3341, allocations: 38.56 kB / 0.5685 GB, free: 10.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 1.673e-06/0.3341, allocations: 0 / 0.5685 GB, free: 10.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.002349/0.3364, allocations: 1.278 MB / 0.5698 GB, free: 8.883 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.281e-05/0.3365, allocations: 110.8 kB / 0.5699 GB, free: 8.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004754/0.337, allocations: 422 kB / 0.5703 GB, free: 8.332 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.337, allocations: 33.69 kB / 0.5703 GB, free: 8.293 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/0.3373, allocations: 312.2 kB / 0.5706 GB, free: 7.984 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.3374, allocations: 134.9 kB / 0.5708 GB, free: 7.852 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.3375, allocations: 86.14 kB / 0.5708 GB, free: 7.762 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.3377, allocations: 362.7 kB / 0.5712 GB, free: 7.398 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/0.338, allocations: 164.9 kB / 0.5713 GB, free: 7.238 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003795/0.3383, allocations: 301.1 kB / 0.5716 GB, free: 6.883 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006597/0.339, allocations: 495.7 kB / 0.5721 GB, free: 6.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.339, allocations: 0 / 0.5721 GB, free: 6.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0013/0.3403, allocations: 0.7128 MB / 0.5728 GB, free: 5.613 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3403, allocations: 8 kB / 0.5728 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.3403, allocations: 7.984 kB / 0.5728 GB, free: 5.598 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006388/0.341, allocations: 213.1 kB / 0.573 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/0.3413, allocations: 79.89 kB / 0.5731 GB, free: 5.309 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004786/0.3461, allocations: 4.015 MB / 0.577 GB, free: 1.066 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/0.3464, allocations: 15.94 kB / 0.577 GB, free: 1.051 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/0.3464, allocations: 31.86 kB / 0.5771 GB, free: 1.02 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.0003158/0.3467, allocations: 225.6 kB / 0.5773 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.975e-05/0.3468, allocations: 55.67 kB / 0.5773 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008764/0.3477, allocations: 495 kB / 0.5778 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3477, allocations: 4 kB / 0.5778 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3477, allocations: 4 kB / 0.5778 GB, free: 240 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3477, allocations: 0 / 0.5778 GB, free: 240 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.3494, allocations: 1.016 MB / 0.5788 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3494, allocations: 4 kB / 0.5788 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004296/0.3498, allocations: 71.89 kB / 0.5789 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001462/0.35, allocations: 57.73 kB / 0.5789 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.35, allocations: 16 kB / 0.5789 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/0.3521, allocations: 2.632 MB / 0.5815 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.3521, allocations: 4.031 kB / 0.5815 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.3532, allocations: 0.8025 MB / 0.5823 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.3534, allocations: 75.61 kB / 0.5824 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.585e-05/0.3534, allocations: 8 kB / 0.5824 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.3537, allocations: 15.98 kB / 0.5824 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.3538, allocations: 31.89 kB / 0.5824 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.3538, allocations: 12 kB / 0.5824 GB, free: 11.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003235/0.3541, allocations: 291.1 kB / 0.5827 GB, free: 10.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3541, allocations: 0 / 0.5827 GB, free: 10.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005527/0.3547, allocations: 132 kB / 0.5828 GB, free: 10.75 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.0001341/0.3548, allocations: 115.2 kB / 0.583 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001263/0.3561, allocations: 0.72 MB / 0.5837 GB, free: 9.879 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3561, allocations: 0 / 0.5837 GB, free: 9.879 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005671/0.3566, allocations: 409.2 kB / 0.584 GB, free: 9.453 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006837/0.3573, allocations: 124.9 kB / 0.5842 GB, free: 9.336 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.3596, allocations: 1.572 MB / 0.5857 GB, free: 7.719 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000604/0.3602, allocations: 0.9366 MB / 0.5866 GB, free: 6.754 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.3603, allocations: 43.42 kB / 0.5867 GB, free: 6.711 MB / 430.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3603, allocations: 0 / 0.5867 GB, free: 6.711 MB / 430.1 MB Notification: Performance of Templates: time 0.01459/0.3749, allocations: 11.36 MB / 0.5978 GB, free: 11.36 MB / 446.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Machines.mat","/var/lib/jenkins1/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: 8.587822652887553]