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.001701/0.001701, allocations: 81.86 kB / 21.42 MB, free: 3.074 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.001826/0.001826, allocations: 172 kB / 24.82 MB, free: 8.77 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.123/1.123, allocations: 177.2 MB / 205.3 MB, free: 5.492 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.3173/0.3173, allocations: 29.43 MB / 291.2 MB, free: 2.461 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.463e-06/1.463e-06, allocations: 0 / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.259e-05/2.406e-05, allocations: 2.312 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.008126/0.00815, allocations: 5.196 MB / 375.3 MB, free: 5.496 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006761/0.01491, allocations: 3.856 MB / 379.2 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006324/0.01554, allocations: 23.75 kB / 379.2 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008845/0.02439, allocations: 5.481 MB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000987/0.02538, allocations: 349.9 kB / 385 MB, free: 11.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006092/0.02599, allocations: 259.4 kB / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001798/0.02778, allocations: 1.687 MB / 387 MB, free: 9.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000547/0.02833, allocations: 320.4 kB / 387.3 MB, free: 9.508 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007216/0.02905, allocations: 0.5143 MB / 387.8 MB, free: 8.992 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005876/0.02964, allocations: 422.7 kB / 388.2 MB, free: 8.578 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.515e-05/0.02971, allocations: 44 kB / 388.2 MB, free: 8.535 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002618/0.02998, allocations: 119.8 kB / 388.4 MB, free: 8.418 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002191/0.0302, allocations: 299.2 kB / 388.6 MB, free: 8.125 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.03037, allocations: 223.4 kB / 388.9 MB, free: 7.906 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006641/0.03104, allocations: 0.5333 MB / 389.4 MB, free: 7.371 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.03104, allocations: 0 / 389.4 MB, free: 7.371 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.03104, allocations: 0 / 389.4 MB, free: 7.371 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.03106, allocations: 0 / 389.4 MB, free: 7.371 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.001229/0.03228, allocations: 0.9564 MB / 390.4 MB, free: 6.371 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.03233, allocations: 15.98 kB / 390.4 MB, free: 6.355 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000385/0.03272, allocations: 132.4 kB / 390.5 MB, free: 6.227 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000608/0.03333, allocations: 495 kB / 391 MB, free: 5.719 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.03335, allocations: 33.31 kB / 391 MB, free: 5.688 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.219e-05/0.03341, allocations: 59.88 kB / 391.1 MB, free: 5.629 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004231/0.03384, allocations: 429.1 kB / 391.5 MB, free: 5.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.03385, allocations: 11.98 kB / 391.5 MB, free: 5.148 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.03388, allocations: 19.98 kB / 391.5 MB, free: 5.129 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.953e-05/0.03396, allocations: 44.97 kB / 391.6 MB, free: 5.086 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/0.03418, allocations: 182.7 kB / 391.7 MB, free: 4.906 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/0.03621, allocations: 2.399 MB / 394.1 MB, free: 2.387 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.03645, allocations: 205.1 kB / 394.3 MB, free: 2.148 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.733e-05/0.03654, allocations: 91.08 kB / 394.4 MB, free: 2.047 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.03657, allocations: 4 kB / 394.4 MB, free: 2.043 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.03659, allocations: 41.39 kB / 394.5 MB, free: 1.992 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 2.805e-06/0.0366, allocations: 3.984 kB / 394.5 MB, free: 1.988 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.001061/0.03766, allocations: 0.6802 MB / 395.2 MB, free: 1.262 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.0377, allocations: 106.8 kB / 395.3 MB, free: 1.133 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.03796, allocations: 442.3 kB / 395.7 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.03798, allocations: 29.7 kB / 395.7 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.03814, allocations: 374.8 kB / 396.1 MB, free: 284 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.429e-05/0.03822, allocations: 134.9 kB / 396.2 MB, free: 148 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.755e-05/0.03832, allocations: 95.75 kB / 396.3 MB, free: 44 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.03848, allocations: 0.543 MB / 396.9 MB, free: 15.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.948e-05/0.03855, allocations: 52.95 kB / 396.9 MB, free: 15.44 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.03871, allocations: 242.9 kB / 397.2 MB, free: 15.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.03898, allocations: 337.2 kB / 397.5 MB, free: 14.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.03898, allocations: 0 / 397.5 MB, free: 14.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000575/0.03956, allocations: 487.8 kB / 398 MB, free: 14.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.03958, allocations: 12.03 kB / 398 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.03958, allocations: 4 kB / 398 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003501/0.03993, allocations: 167.1 kB / 398.1 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.04009, allocations: 75.83 kB / 398.2 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/0.04241, allocations: 4.008 MB / 402.2 MB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.04254, allocations: 12 kB / 402.2 MB, free: 9.711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.04256, allocations: 16 kB / 402.2 MB, free: 9.695 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.0001447/0.04271, allocations: 188.4 kB / 402.4 MB, free: 9.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.1e-05/0.04277, allocations: 55.72 kB / 402.5 MB, free: 9.445 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003697/0.04314, allocations: 328.6 kB / 402.8 MB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.04314, allocations: 4 kB / 402.8 MB, free: 9.105 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.04315, allocations: 0 / 402.8 MB, free: 9.105 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.04315, allocations: 11.95 kB / 402.8 MB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007377/0.04389, allocations: 0.6838 MB / 403.5 MB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.04389, allocations: 4 kB / 403.5 MB, free: 8.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.0441, allocations: 67.89 kB / 403.6 MB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.249e-05/0.04419, allocations: 51.44 kB / 403.6 MB, free: 8.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.04421, allocations: 15.97 kB / 403.6 MB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/0.0454, allocations: 3.418 MB / 407.1 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.0454, allocations: 4 kB / 407.1 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/0.04587, allocations: 0.6451 MB / 407.7 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.366e-05/0.04594, allocations: 63.69 kB / 407.8 MB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.04597, allocations: 11.98 kB / 407.8 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.04609, allocations: 7.938 kB / 407.8 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.04612, allocations: 31.89 kB / 407.8 MB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.04614, allocations: 8 kB / 407.8 MB, free: 3.758 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001302/0.04627, allocations: 267 kB / 408.1 MB, free: 3.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.04627, allocations: 0 / 408.1 MB, free: 3.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003739/0.04664, allocations: 132 kB / 408.2 MB, free: 3.371 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.0001176/0.04676, allocations: 114.5 kB / 408.3 MB, free: 3.254 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006161/0.04738, allocations: 0.6528 MB / 409 MB, free: 2.562 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.04738, allocations: 0 / 409 MB, free: 2.562 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002443/0.04762, allocations: 459.8 kB / 409.4 MB, free: 2.074 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.04805, allocations: 108.1 kB / 409.5 MB, free: 1.973 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.04967, allocations: 1.243 MB / 410.8 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.04979, allocations: 189.6 kB / 411 MB, free: 484 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001472/0.04994, allocations: 60.33 kB / 411 MB, free: 420 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.05012, allocations: 158.1 kB / 411.2 MB, free: 260 kB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.05012, allocations: 0 / 411.2 MB, free: 260 kB / 378.7 MB Notification: Performance of Templates: time 0.008971/0.05909, allocations: 6.621 MB / 417.8 MB, free: 9.738 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","",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.5444873929955065]