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.001257/0.001257, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004342/0.0056, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001286/0.001286, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006486/0.007772, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9776/0.9776, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07506/1.053, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1148/0.1148, allocations: 29.44 MB / 273.4 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1196/0.2344, allocations: 9.527 MB / 283 MB, free: 12.86 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="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.323e-06/1.323e-06, allocations: 0 / 284.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172e-05/1.305e-05, allocations: 6.875 kB / 284.2 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.004902/0.004915, allocations: 5.302 MB / 289.5 MB, free: 7.793 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004256/0.009171, allocations: 3.953 MB / 293.5 MB, free: 4.785 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002367/0.009408, allocations: 26.75 kB / 293.5 MB, free: 4.77 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005885/0.01529, allocations: 5.04 MB / 298.6 MB, free: 480 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000455/0.01575, allocations: 365.8 kB / 298.9 MB, free: 112 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.01614, allocations: 255.4 kB / 299.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001207/0.01734, allocations: 1.625 MB / 300.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003099/0.01765, allocations: 317.1 kB / 301.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004125/0.01807, allocations: 0.5511 MB / 301.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003545/0.01842, allocations: 410.8 kB / 302.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.945e-05/0.01847, allocations: 44 kB / 302.1 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001769/0.01865, allocations: 127.8 kB / 302.2 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.01882, allocations: 267.3 kB / 302.5 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.01897, allocations: 179.6 kB / 302.7 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004556/0.01943, allocations: 0.5099 MB / 303.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.422e-05/0.01944, allocations: 3.984 kB / 303.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01944, allocations: 0 / 303.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.01946, allocations: 0 / 303.2 MB, free: 11.84 MB / 298.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.001005/0.02046, allocations: 0.9489 MB / 304.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.0205, allocations: 12.03 kB / 304.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003679/0.02086, allocations: 189.9 kB / 304.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005342/0.0214, allocations: 448.3 kB / 304.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.02142, allocations: 37.36 kB / 304.8 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.779e-05/0.02148, allocations: 59.88 kB / 304.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005022/0.02198, allocations: 411.6 kB / 305.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.022, allocations: 8 kB / 305.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.02202, allocations: 19.94 kB / 305.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.995e-05/0.02209, allocations: 48.91 kB / 305.3 MB, free: 9.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.02228, allocations: 154.8 kB / 305.5 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.02375, allocations: 1.841 MB / 307.3 MB, free: 7.484 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.02396, allocations: 222.4 kB / 307.5 MB, free: 7.238 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.052e-05/0.02403, allocations: 74.61 kB / 307.6 MB, free: 7.156 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.02405, allocations: 4 kB / 307.6 MB, free: 7.152 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.02408, allocations: 42.5 kB / 307.7 MB, free: 7.102 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.392e-06/0.02408, allocations: 0 / 307.7 MB, free: 7.102 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008977/0.02497, allocations: 0.5945 MB / 308.3 MB, free: 6.465 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.02501, allocations: 110.8 kB / 308.4 MB, free: 6.332 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.0252, allocations: 359.2 kB / 308.7 MB, free: 5.973 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.02522, allocations: 29.7 kB / 308.7 MB, free: 5.938 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.838e-05/0.02532, allocations: 277 kB / 309 MB, free: 5.664 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.15e-05/0.02538, allocations: 126.9 kB / 309.1 MB, free: 5.539 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.588e-05/0.02546, allocations: 90.19 kB / 309.2 MB, free: 5.445 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.082e-05/0.02554, allocations: 362.7 kB / 309.6 MB, free: 5.082 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.611e-05/0.02559, allocations: 44.97 kB / 309.6 MB, free: 5.035 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.0257, allocations: 181.2 kB / 309.8 MB, free: 4.801 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.02591, allocations: 262.5 kB / 310.1 MB, free: 4.484 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.02591, allocations: 0 / 310.1 MB, free: 4.484 MB / 298.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004563/0.02637, allocations: 411.9 kB / 310.5 MB, free: 4.066 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.02638, allocations: 8 kB / 310.5 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.02639, allocations: 4 kB / 310.5 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003308/0.02672, allocations: 172.7 kB / 310.6 MB, free: 3.879 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.02689, allocations: 79.89 kB / 310.7 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/0.02891, allocations: 2.925 MB / 313.6 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.02902, allocations: 20 kB / 313.7 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.02904, allocations: 12 kB / 313.7 MB, free: 0.6523 MB / 298.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.0001043/0.02914, allocations: 136.5 kB / 313.8 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.502e-05/0.0292, allocations: 40 kB / 313.8 MB, free: 480 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003155/0.02952, allocations: 283.4 kB / 314.1 MB, free: 180 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.02952, allocations: 8.031 kB / 314.1 MB, free: 172 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.02952, allocations: 0 / 314.1 MB, free: 172 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.02953, allocations: 3.984 kB / 314.1 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006168/0.03014, allocations: 0.5891 MB / 314.7 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.03015, allocations: 3.984 kB / 314.7 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/0.03039, allocations: 87.94 kB / 314.8 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.297e-05/0.03046, allocations: 51.7 kB / 314.9 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.937e-05/0.03054, allocations: 47.34 kB / 314.9 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.03055, allocations: 8 kB / 314.9 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009314/0.03148, allocations: 2.383 MB / 317.3 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.03149, allocations: 4.25 kB / 317.3 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.03187, allocations: 0.5378 MB / 317.8 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.0319, allocations: 12 kB / 317.9 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.03201, allocations: 8 kB / 317.9 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.03205, allocations: 31.89 kB / 317.9 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.03206, allocations: 4 kB / 317.9 MB, free: 12.12 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.107e-05/0.03215, allocations: 148.7 kB / 318 MB, free: 11.97 MB / 314.7 MB Notification: Performance of sort global known variables: time 2e-08/0.03215, allocations: 4 kB / 318 MB, free: 11.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003011/0.03245, allocations: 128 kB / 318.2 MB, free: 11.84 MB / 314.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 8.918e-05/0.03254, allocations: 100.1 kB / 318.3 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005076/0.03305, allocations: 0.5259 MB / 318.8 MB, free: 11.19 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.486e-05/0.03306, allocations: 11.94 kB / 318.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003483/0.03341, allocations: 340 kB / 319.1 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.03379, allocations: 140 kB / 319.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007581/0.04137, allocations: 1.129 MB / 320.4 MB, free: 9.512 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.0415, allocations: 181.7 kB / 320.6 MB, free: 9.316 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001451/0.04164, allocations: 56.34 kB / 320.6 MB, free: 9.258 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.04181, allocations: 127.3 kB / 320.8 MB, free: 9.133 MB / 314.7 MB Notification: Performance of SimCode: time 8.62e-07/0.04181, allocations: 0 / 320.8 MB, free: 9.133 MB / 314.7 MB Notification: Performance of Templates: time 0.009037/0.05085, allocations: 6.797 MB / 327.6 MB, free: 2.461 MB / 314.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 -ignoreHideResult -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: 2.9243856966495514]