Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001654/0.001654, allocations: 88.31 kB / 20.96 MB, free: 3.48 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.002108/0.002108, allocations: 161.7 kB / 24.26 MB, free: 180 kB / 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.498/1.498, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.3366/0.3366, allocations: 29.41 MB / 290.5 MB, free: 2.414 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/3.057e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.006628/0.006659, allocations: 4.331 MB / 373.2 MB, free: 6.957 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002938/0.009597, allocations: 1.383 MB / 374.6 MB, free: 5.57 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.009793, allocations: 23.81 kB / 374.6 MB, free: 5.547 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.01102, allocations: 366.4 kB / 375 MB, free: 5.188 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006699/0.01169, allocations: 266.4 kB / 375.2 MB, free: 4.926 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007816/0.01247, allocations: 255.2 kB / 375.5 MB, free: 4.676 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007453/0.01321, allocations: 0.5689 MB / 376 MB, free: 4.105 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003992/0.01361, allocations: 217.5 kB / 376.2 MB, free: 3.895 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005722/0.01419, allocations: 354.9 kB / 376.6 MB, free: 3.547 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005325/0.01472, allocations: 343.2 kB / 376.9 MB, free: 3.211 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.298e-05/0.01479, allocations: 40 kB / 377 MB, free: 3.172 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005804/0.01537, allocations: 227.5 kB / 377.2 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002899/0.01566, allocations: 251.4 kB / 377.4 MB, free: 2.703 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000254/0.01592, allocations: 179.6 kB / 377.6 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009935/0.01691, allocations: 0.7166 MB / 378.3 MB, free: 1.809 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.01691, allocations: 0 / 378.3 MB, free: 1.809 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01691, allocations: 0 / 378.3 MB, free: 1.809 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.395e-06/0.01692, allocations: 0 / 378.3 MB, free: 1.809 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.001551/0.01847, allocations: 0.7017 MB / 379 MB, free: 1.078 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.01851, allocations: 15.98 kB / 379 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008664/0.01938, allocations: 176.4 kB / 379.2 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007607/0.02014, allocations: 381.2 kB / 379.6 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.246e-05/0.02018, allocations: 29.38 kB / 379.6 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.02033, allocations: 40.56 kB / 379.7 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.0215, allocations: 0.6846 MB / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.02153, allocations: 4 kB / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.584e-05/0.02158, allocations: 15.98 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001882/0.02177, allocations: 52.95 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.02305, allocations: 0.6674 MB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003916/0.02697, allocations: 2.309 MB / 383.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006059/0.02757, allocations: 309.3 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003343/0.02791, allocations: 197.7 kB / 383.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.702e-05/0.02796, allocations: 7.984 kB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.179e-05/0.028, allocations: 46.44 kB / 383.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.705e-06/0.028, allocations: 4 kB / 383.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.002437/0.03044, allocations: 1.302 MB / 385.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.03051, allocations: 85.11 kB / 385.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/0.03086, allocations: 300 kB / 385.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.967e-05/0.03091, allocations: 33.7 kB / 385.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.03112, allocations: 256.2 kB / 385.9 MB, free: 9.922 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.03127, allocations: 162.6 kB / 386.1 MB, free: 9.762 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.03143, allocations: 94.14 kB / 386.2 MB, free: 9.664 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.03163, allocations: 342.9 kB / 386.5 MB, free: 9.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.03197, allocations: 205 kB / 386.7 MB, free: 9.121 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000487/0.03246, allocations: 357.6 kB / 387 MB, free: 8.703 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008885/0.03334, allocations: 0.5982 MB / 387.6 MB, free: 8.035 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.03335, allocations: 8 kB / 387.6 MB, free: 8.027 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001252/0.0346, allocations: 0.6585 MB / 388.3 MB, free: 7.363 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.03462, allocations: 7.938 kB / 388.3 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.03464, allocations: 8 kB / 388.3 MB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.953e-05/0.03467, allocations: 11.94 kB / 388.3 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004814/0.03515, allocations: 103.9 kB / 388.4 MB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.891e-05/0.03517, allocations: 15.92 kB / 388.4 MB, free: 7.219 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.03541, allocations: 23.98 kB / 388.5 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.408e-05/0.03546, allocations: 20 kB / 388.5 MB, free: 7.176 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.0002915/0.03576, allocations: 217.6 kB / 388.7 MB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.03589, allocations: 51.83 kB / 388.8 MB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000922/0.03681, allocations: 0.4888 MB / 389.2 MB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.998e-05/0.03684, allocations: 15.92 kB / 389.3 MB, free: 6.391 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.03685, allocations: 7.938 kB / 389.3 MB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.03686, allocations: 0 / 389.3 MB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/0.03876, allocations: 0.9678 MB / 390.2 MB, free: 5.371 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.03877, allocations: 7.938 kB / 390.2 MB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003853/0.03916, allocations: 83.92 kB / 390.3 MB, free: 5.281 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.974e-06/0.03916, allocations: 4 kB / 390.3 MB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.596e-05/0.0392, allocations: 11.98 kB / 390.3 MB, free: 5.266 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.0392, allocations: 0 / 390.3 MB, free: 5.266 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.03921, allocations: 4 kB / 390.3 MB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.04052, allocations: 0.8401 MB / 391.2 MB, free: 4.391 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.73e-05/0.04059, allocations: 39.7 kB / 391.2 MB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.397e-05/0.04065, allocations: 8 kB / 391.2 MB, free: 4.344 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.04087, allocations: 12.03 kB / 391.2 MB, free: 4.332 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.112e-05/0.04093, allocations: 23.95 kB / 391.3 MB, free: 4.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.04097, allocations: 19.98 kB / 391.3 MB, free: 4.289 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002382/0.04121, allocations: 203.1 kB / 391.5 MB, free: 4.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04121, allocations: 0 / 391.5 MB, free: 4.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005266/0.04174, allocations: 107.9 kB / 391.6 MB, free: 3.984 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.0002706/0.04201, allocations: 135.1 kB / 391.7 MB, free: 3.844 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008286/0.04283, allocations: 468.8 kB / 392.2 MB, free: 3.387 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.04284, allocations: 0 / 392.2 MB, free: 3.387 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000326/0.04316, allocations: 203.8 kB / 392.4 MB, free: 3.188 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005464/0.04371, allocations: 79.09 kB / 392.5 MB, free: 3.121 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.04549, allocations: 1.061 MB / 393.5 MB, free: 2.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.04585, allocations: 274.2 kB / 393.8 MB, free: 1.727 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003266/0.04617, allocations: 123.2 kB / 393.9 MB, free: 1.609 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.04629, allocations: 32.48 kB / 393.9 MB, free: 1.578 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.04629, allocations: 0 / 393.9 MB, free: 1.578 MB / 362.7 MB Notification: Performance of Templates: time 0.01006/0.05635, allocations: 3.803 MB / 397.7 MB, free: 13.84 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.805421893019229]