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.00129/0.00129, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001162/0.001162, allocations: 172 kB / 25.61 MB, free: 8.586 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 0.9611/0.9611, allocations: 177.1 MB / 206 MB, free: 4.523 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.1665/0.1665, allocations: 29.42 MB / 292 MB, free: 2.629 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.714e-06/1.714e-06, allocations: 0 / 370.9 MB, free: 32.29 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.817e-05, allocations: 5.266 kB / 370.9 MB, free: 32.29 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.006508/0.006536, allocations: 5.198 MB / 376.1 MB, free: 27.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003904/0.01044, allocations: 3.86 MB / 379.9 MB, free: 23.2 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003183/0.01076, allocations: 27.75 kB / 380 MB, free: 23.17 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006067/0.01683, allocations: 5.481 MB / 385.5 MB, free: 17.68 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007276/0.01755, allocations: 349.9 kB / 385.8 MB, free: 17.33 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.01803, allocations: 263.4 kB / 386.1 MB, free: 17.07 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001309/0.01934, allocations: 1.672 MB / 387.7 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003798/0.01972, allocations: 336.2 kB / 388.1 MB, free: 15.06 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004705/0.02019, allocations: 0.522 MB / 388.6 MB, free: 14.54 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000406/0.02059, allocations: 414.8 kB / 389 MB, free: 14.13 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.869e-05/0.02064, allocations: 44 kB / 389 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.02084, allocations: 115.8 kB / 389.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.02099, allocations: 299.2 kB / 389.4 MB, free: 13.68 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.02113, allocations: 219.5 kB / 389.6 MB, free: 13.47 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004634/0.0216, allocations: 0.5371 MB / 390.2 MB, free: 12.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.0216, allocations: 8 kB / 390.2 MB, free: 12.92 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.0216, allocations: 0 / 390.2 MB, free: 12.92 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.02161, allocations: 4 kB / 390.2 MB, free: 12.92 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.0009604/0.02257, allocations: 0.9485 MB / 391.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.02261, allocations: 8.031 kB / 391.1 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003558/0.02296, allocations: 140.4 kB / 391.3 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005314/0.02349, allocations: 495.1 kB / 391.8 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.02352, allocations: 37.36 kB / 391.8 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.643e-05/0.02357, allocations: 51.94 kB / 391.9 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003668/0.02394, allocations: 437 kB / 392.3 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.02396, allocations: 3.953 kB / 392.3 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.02398, allocations: 20 kB / 392.3 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.737e-05/0.02406, allocations: 44.97 kB / 392.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.02426, allocations: 178.7 kB / 392.5 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.02578, allocations: 2.399 MB / 394.9 MB, free: 7.957 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.02599, allocations: 213 kB / 395.1 MB, free: 7.711 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.542e-05/0.02606, allocations: 83.08 kB / 395.2 MB, free: 7.617 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.02609, allocations: 8 kB / 395.2 MB, free: 7.609 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.02611, allocations: 41.39 kB / 395.3 MB, free: 7.559 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 1.623e-06/0.02611, allocations: 0 / 395.3 MB, free: 7.559 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.001041/0.02715, allocations: 0.6701 MB / 395.9 MB, free: 6.844 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.02718, allocations: 111 kB / 396 MB, free: 6.711 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.02736, allocations: 438.4 kB / 396.5 MB, free: 6.266 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.02738, allocations: 33.7 kB / 396.5 MB, free: 6.227 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.02749, allocations: 374.8 kB / 396.9 MB, free: 5.852 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.182e-05/0.02754, allocations: 130.9 kB / 397 MB, free: 5.723 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.982e-05/0.02762, allocations: 99.75 kB / 397.1 MB, free: 5.617 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.633e-05/0.02769, allocations: 0.539 MB / 397.6 MB, free: 5.066 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.444e-05/0.02776, allocations: 56.94 kB / 397.7 MB, free: 5.008 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.02787, allocations: 246.9 kB / 397.9 MB, free: 4.688 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.02808, allocations: 339 kB / 398.3 MB, free: 4.277 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-06/0.02808, allocations: 0 / 398.3 MB, free: 4.277 MB / 314.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005127/0.02859, allocations: 491.3 kB / 398.7 MB, free: 3.781 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.02861, allocations: 6.031 kB / 398.7 MB, free: 3.777 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.02861, allocations: 4 kB / 398.7 MB, free: 3.773 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003371/0.02895, allocations: 178.2 kB / 398.9 MB, free: 3.594 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.0291, allocations: 71.89 kB / 399 MB, free: 3.523 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002072/0.03117, allocations: 4.01 MB / 403 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.03132, allocations: 16 kB / 403 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.03134, allocations: 19.98 kB / 403 MB, free: 15.26 MB / 330.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.0001484/0.03149, allocations: 176.5 kB / 403.2 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.402e-05/0.03157, allocations: 59.66 kB / 403.3 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000408/0.03197, allocations: 320.6 kB / 403.6 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.03198, allocations: 4 kB / 403.6 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.03198, allocations: 8 kB / 403.6 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.03199, allocations: 4.031 kB / 403.6 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007914/0.03278, allocations: 0.7033 MB / 404.3 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.03278, allocations: 0 / 404.3 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.03299, allocations: 67.89 kB / 404.4 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-05/0.03308, allocations: 47.34 kB / 404.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.0331, allocations: 11.98 kB / 404.4 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/0.03473, allocations: 3.418 MB / 407.8 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.03473, allocations: 4 kB / 407.8 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004861/0.03522, allocations: 0.6296 MB / 408.5 MB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.45e-05/0.03529, allocations: 63.69 kB / 408.5 MB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.03532, allocations: 11.98 kB / 408.6 MB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.03544, allocations: 7.938 kB / 408.6 MB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.03548, allocations: 28.02 kB / 408.6 MB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.03549, allocations: 12 kB / 408.6 MB, free: 9.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001304/0.03563, allocations: 267 kB / 408.9 MB, free: 9.082 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03563, allocations: 0 / 408.9 MB, free: 9.082 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003997/0.03602, allocations: 135.9 kB / 409 MB, free: 8.949 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.0001164/0.03614, allocations: 115.2 kB / 409.1 MB, free: 8.824 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006365/0.03678, allocations: 0.6526 MB / 409.8 MB, free: 8.133 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.03678, allocations: 0 / 409.8 MB, free: 8.133 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000268/0.03705, allocations: 472.7 kB / 410.2 MB, free: 7.633 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.03747, allocations: 104.5 kB / 410.3 MB, free: 7.539 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.03911, allocations: 1.25 MB / 411.6 MB, free: 6.234 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.03924, allocations: 185.7 kB / 411.8 MB, free: 6.031 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001475/0.03939, allocations: 60.34 kB / 411.8 MB, free: 5.973 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.03957, allocations: 158.1 kB / 412 MB, free: 5.816 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.03957, allocations: 0 / 412 MB, free: 5.816 MB / 330.7 MB Notification: Performance of Templates: time 0.009576/0.04914, allocations: 6.736 MB / 418.7 MB, free: 15.21 MB / 346.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.344958918169141]