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.0008043/0.0008043, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001196/0.002001, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007303/0.0007303, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001062/0.001792, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.045/1.045, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09877/1.143, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.1323/0.1323, allocations: 29.45 MB / 273.6 MB, free: 1.387 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1239/0.2562, allocations: 9.537 MB / 283.1 MB, free: 12.83 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.303e-06/1.303e-06, allocations: 0 / 284.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.907e-06/1.021e-05, allocations: 2.312 kB / 284.5 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.004522/0.004533, allocations: 5.312 MB / 289.8 MB, free: 7.699 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004172/0.008704, allocations: 3.958 MB / 293.7 MB, free: 4.688 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002245/0.008929, allocations: 31.59 kB / 293.8 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005983/0.01491, allocations: 5.034 MB / 298.8 MB, free: 344 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004988/0.01541, allocations: 361.8 kB / 299.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000429/0.01584, allocations: 267.3 kB / 299.4 MB, free: 15.72 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001266/0.01711, allocations: 1.614 MB / 301 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003919/0.0175, allocations: 325 kB / 301.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004852/0.01798, allocations: 0.555 MB / 301.9 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003746/0.01836, allocations: 406.8 kB / 302.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.503e-05/0.01841, allocations: 44 kB / 302.3 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.01861, allocations: 127.7 kB / 302.5 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.01879, allocations: 267.3 kB / 302.7 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.01894, allocations: 183.6 kB / 302.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00049/0.01943, allocations: 0.5021 MB / 303.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.01943, allocations: 0 / 303.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.01943, allocations: 0 / 303.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.01945, allocations: 0 / 303.4 MB, free: 11.71 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.001014/0.02046, allocations: 0.9489 MB / 304.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.02049, allocations: 8.031 kB / 304.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003667/0.02086, allocations: 189.9 kB / 304.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005247/0.02139, allocations: 452.3 kB / 305 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.02141, allocations: 37.36 kB / 305 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.901e-05/0.02147, allocations: 55.88 kB / 305.1 MB, free: 9.961 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.02184, allocations: 415.6 kB / 305.5 MB, free: 9.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.02186, allocations: 0 / 305.5 MB, free: 9.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.02188, allocations: 23.92 kB / 305.5 MB, free: 9.496 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.956e-05/0.02195, allocations: 56.94 kB / 305.6 MB, free: 9.438 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.02215, allocations: 157.6 kB / 305.7 MB, free: 9.285 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.02367, allocations: 1.855 MB / 307.6 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.02388, allocations: 223.9 kB / 307.8 MB, free: 7.082 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.107e-05/0.02395, allocations: 74.56 kB / 307.9 MB, free: 7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.02397, allocations: 4 kB / 307.9 MB, free: 6.996 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.024, allocations: 50.5 kB / 307.9 MB, free: 6.938 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.472e-06/0.024, allocations: 0 / 307.9 MB, free: 6.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009432/0.02494, allocations: 0.6179 MB / 308.5 MB, free: 6.277 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.02499, allocations: 106.8 kB / 308.6 MB, free: 6.148 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.02518, allocations: 355.2 kB / 309 MB, free: 5.793 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.02521, allocations: 37.8 kB / 309 MB, free: 5.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.02531, allocations: 273 kB / 309.3 MB, free: 5.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.382e-05/0.02538, allocations: 130.9 kB / 309.4 MB, free: 5.352 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.052e-05/0.02546, allocations: 86.09 kB / 309.5 MB, free: 5.262 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.222e-05/0.02555, allocations: 358.7 kB / 309.8 MB, free: 4.902 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.432e-05/0.02562, allocations: 55.8 kB / 309.9 MB, free: 4.848 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.02573, allocations: 181.2 kB / 310.1 MB, free: 4.617 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002208/0.02595, allocations: 289.3 kB / 310.4 MB, free: 4.273 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.02595, allocations: 4 kB / 310.4 MB, free: 4.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004654/0.02642, allocations: 414.7 kB / 310.8 MB, free: 3.848 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.02643, allocations: 8 kB / 310.8 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.02644, allocations: 4 kB / 310.8 MB, free: 3.836 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000336/0.02678, allocations: 180.6 kB / 311 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.02695, allocations: 79.88 kB / 311 MB, free: 3.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.02887, allocations: 2.927 MB / 314 MB, free: 460 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.02898, allocations: 8 kB / 314 MB, free: 452 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.029, allocations: 16 kB / 314 MB, free: 436 kB / 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.0001088/0.02911, allocations: 136.5 kB / 314.1 MB, free: 288 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-05/0.02917, allocations: 39.95 kB / 314.2 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003365/0.0295, allocations: 287.5 kB / 314.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.02951, allocations: 4 kB / 314.4 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.02951, allocations: 7.938 kB / 314.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.02952, allocations: 3.984 kB / 314.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006356/0.03015, allocations: 0.5894 MB / 315 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.03016, allocations: 3.938 kB / 315 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.0304, allocations: 87.86 kB / 315.1 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.21e-05/0.03046, allocations: 51.7 kB / 315.2 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.881e-05/0.03054, allocations: 43.34 kB / 315.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.03056, allocations: 15.98 kB / 315.2 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009537/0.03151, allocations: 2.387 MB / 317.6 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.03151, allocations: 0 / 317.6 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003816/0.0319, allocations: 0.5492 MB / 318.2 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.03193, allocations: 11.98 kB / 318.2 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.03204, allocations: 4 kB / 318.2 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.03208, allocations: 31.89 kB / 318.2 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.03209, allocations: 16.06 kB / 318.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.501e-05/0.03219, allocations: 144.7 kB / 318.4 MB, free: 11.72 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03219, allocations: 0 / 318.4 MB, free: 11.72 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002985/0.03249, allocations: 132 kB / 318.5 MB, free: 11.59 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 9.062e-05/0.03258, allocations: 88.34 kB / 318.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005289/0.03311, allocations: 0.5343 MB / 319.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-05/0.03312, allocations: 15.94 kB / 319.1 MB, free: 10.92 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.03336, allocations: 359.1 kB / 319.5 MB, free: 10.54 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005849/0.03394, allocations: 0.8151 MB / 320.3 MB, free: 9.582 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00731/0.04125, allocations: 1.118 MB / 321.4 MB, free: 8.418 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.04138, allocations: 177.7 kB / 321.6 MB, free: 8.227 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.04153, allocations: 60.36 kB / 321.7 MB, free: 8.164 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.0417, allocations: 135.3 kB / 321.8 MB, free: 8.031 MB / 314.7 MB Notification: Performance of SimCode: time 9.52e-07/0.0417, allocations: 0 / 321.8 MB, free: 8.031 MB / 314.7 MB Notification: Performance of Templates: time 0.01072/0.05242, allocations: 6.8 MB / 328.6 MB, free: 1.355 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.950597428716719]