Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.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.0008102/0.0008102, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0008982/0.0008982, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.9451/0.9451, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2205/0.2205, allocations: 29.42 MB / 291.2 MB, free: 2.422 MB / 266.7 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.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.[0-9,]+.|meter_dq0.p.[0-9,]+.|meter_dq0.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.[0-9,]+.|meter_dq0.p.[0-9,]+.|meter_dq0.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107e-05/1.244e-05, allocations: 2.312 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.003849/0.003861, allocations: 4.537 MB / 374.1 MB, free: 6.746 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.005679, allocations: 1.433 MB / 375.6 MB, free: 5.309 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001878/0.005866, allocations: 19.81 kB / 375.6 MB, free: 5.289 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006781/0.006544, allocations: 382.3 kB / 376 MB, free: 4.914 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004074/0.006952, allocations: 250.5 kB / 376.2 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005321/0.007484, allocations: 259.2 kB / 376.5 MB, free: 4.414 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005436/0.008027, allocations: 0.5767 MB / 377 MB, free: 3.836 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003402/0.008368, allocations: 229.3 kB / 377.3 MB, free: 3.613 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004721/0.00884, allocations: 347 kB / 377.6 MB, free: 3.273 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003402/0.00918, allocations: 347.1 kB / 377.9 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.557e-05/0.009226, allocations: 40 kB / 378 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003186/0.009544, allocations: 231.5 kB / 378.2 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.009711, allocations: 259.4 kB / 378.5 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.009856, allocations: 191.5 kB / 378.7 MB, free: 2.227 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006126/0.01047, allocations: 0.5412 MB / 379.2 MB, free: 1.684 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.01047, allocations: 0 / 379.2 MB, free: 1.684 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.01047, allocations: 0 / 379.2 MB, free: 1.684 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.01048, allocations: 0 / 379.2 MB, free: 1.684 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0008689/0.01135, allocations: 0.8133 MB / 380 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.01138, allocations: 11.98 kB / 380 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004848/0.01186, allocations: 180.4 kB / 380.2 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004105/0.01227, allocations: 370.7 kB / 380.6 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.0123, allocations: 29.38 kB / 380.6 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.628e-05/0.01239, allocations: 48.48 kB / 380.6 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004818/0.01287, allocations: 469.5 kB / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.01288, allocations: 3.984 kB / 381.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.01291, allocations: 16 kB / 381.1 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.58e-05/0.01301, allocations: 48.97 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004134/0.01342, allocations: 309.6 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002195/0.01562, allocations: 2.477 MB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.01587, allocations: 194.4 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.01599, allocations: 107.3 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.01601, allocations: 8 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.01603, allocations: 37.39 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 1.763e-06/0.01603, allocations: 0 / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.001014/0.01704, allocations: 0.8456 MB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.01708, allocations: 85.05 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.01729, allocations: 338.2 kB / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.01731, allocations: 33.7 kB / 385.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.01743, allocations: 311 kB / 385.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.413e-05/0.01751, allocations: 158.7 kB / 386 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.995e-05/0.0176, allocations: 107.8 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.01772, allocations: 0.5235 MB / 386.7 MB, free: 9.844 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.01783, allocations: 77.11 kB / 386.7 MB, free: 9.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.01803, allocations: 310.5 kB / 387 MB, free: 9.367 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/0.01838, allocations: 437.7 kB / 387.5 MB, free: 8.844 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01838, allocations: 0 / 387.5 MB, free: 8.844 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0004329/0.01881, allocations: 437.9 kB / 387.9 MB, free: 8.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.01882, allocations: 8 kB / 387.9 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.01883, allocations: 4 kB / 387.9 MB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.01885, allocations: 11.94 kB / 387.9 MB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.01907, allocations: 111.8 kB / 388 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.01908, allocations: 11.98 kB / 388 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.0192, allocations: 20.45 kB / 388.1 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.01923, allocations: 28 kB / 388.1 MB, free: 8.219 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.01934, allocations: 184.4 kB / 388.3 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.242e-05/0.0194, allocations: 59.69 kB / 388.3 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003491/0.01975, allocations: 300.6 kB / 388.6 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.01976, allocations: 15.94 kB / 388.6 MB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.01977, allocations: 0 / 388.6 MB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.01977, allocations: 3.984 kB / 388.6 MB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008212/0.02059, allocations: 0.8114 MB / 389.4 MB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.0206, allocations: 0 / 389.4 MB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.02078, allocations: 75.83 kB / 389.5 MB, free: 6.707 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.02078, allocations: 4 kB / 389.5 MB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.0208, allocations: 8 kB / 389.5 MB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.0208, allocations: 0 / 389.5 MB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.0208, allocations: 4 kB / 389.5 MB, free: 6.691 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008981/0.0217, allocations: 0.551 MB / 390.1 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.008e-05/0.02173, allocations: 39.8 kB / 390.1 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.02176, allocations: 8 kB / 390.1 MB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.767e-05/0.02186, allocations: 19.97 kB / 390.2 MB, free: 6.035 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.0219, allocations: 23.97 kB / 390.2 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.02191, allocations: 11.94 kB / 390.2 MB, free: 6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001118/0.02202, allocations: 219 kB / 390.4 MB, free: 5.785 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.02202, allocations: 0 / 390.4 MB, free: 5.785 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00029/0.02231, allocations: 111.9 kB / 390.5 MB, free: 5.676 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * 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 (33): * Single equations (assignments): 30 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001576/0.02247, allocations: 139.1 kB / 390.6 MB, free: 5.531 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003324/0.0228, allocations: 281.6 kB / 390.9 MB, free: 5.254 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.02281, allocations: 0 / 390.9 MB, free: 5.254 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.02294, allocations: 132.9 kB / 391.1 MB, free: 5.121 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.02326, allocations: 76.23 kB / 391.1 MB, free: 5.051 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.02448, allocations: 0.9199 MB / 392 MB, free: 4.082 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.127e-05/0.02458, allocations: 157.7 kB / 392.2 MB, free: 3.906 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000166/0.02474, allocations: 103.2 kB / 392.3 MB, free: 3.805 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.356e-05/0.02481, allocations: 28.5 kB / 392.3 MB, free: 3.777 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.02481, allocations: 0 / 392.3 MB, free: 3.777 MB / 362.7 MB Notification: Performance of Templates: time 0.005342/0.03015, allocations: 3.814 MB / 396.1 MB, free: 40 kB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.ReferenceSynchron.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.032331646885723]