Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.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.001564/0.001564, allocations: 80.31 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.00116/0.00116, allocations: 167.1 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.9277/0.9277, allocations: 177.1 MB / 206 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] 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.1363/0.1363, allocations: 29.44 MB / 292 MB, free: 2.629 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.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 370.9 MB, free: 32.35 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.818e-06/1.151e-05, allocations: 2.312 kB / 370.9 MB, free: 32.35 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.002911/0.002923, allocations: 4.038 MB / 374.9 MB, free: 28.29 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.004307, allocations: 1.441 MB / 376.3 MB, free: 26.84 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.004455, allocations: 15.88 kB / 376.3 MB, free: 26.83 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004012/0.004856, allocations: 139.2 kB / 376.5 MB, free: 26.69 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003087/0.005165, allocations: 234.7 kB / 376.7 MB, free: 26.46 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.005596, allocations: 251.2 kB / 377 MB, free: 26.21 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000318/0.005914, allocations: 0.5494 MB / 377.5 MB, free: 25.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002256/0.00614, allocations: 221.7 kB / 377.7 MB, free: 25.44 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003439/0.006484, allocations: 363.1 kB / 378.1 MB, free: 25.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.006701, allocations: 267.3 kB / 378.3 MB, free: 24.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.006732, allocations: 28 kB / 378.4 MB, free: 24.8 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.006921, allocations: 151.7 kB / 378.5 MB, free: 24.65 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.007047, allocations: 243.4 kB / 378.8 MB, free: 24.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.661e-05/0.007144, allocations: 155.7 kB / 378.9 MB, free: 24.26 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.00746, allocations: 446.4 kB / 379.3 MB, free: 23.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.007462, allocations: 0 / 379.3 MB, free: 23.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.7e-07/0.007462, allocations: 0 / 379.3 MB, free: 23.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.007467, allocations: 0 / 379.3 MB, free: 23.82 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.0005978/0.008065, allocations: 0.7624 MB / 380.1 MB, free: 23.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.008098, allocations: 12.03 kB / 380.1 MB, free: 23.01 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004529/0.008551, allocations: 136.5 kB / 380.2 MB, free: 22.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.008866, allocations: 323.1 kB / 380.6 MB, free: 22.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.008884, allocations: 33.31 kB / 380.6 MB, free: 22.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.966e-05/0.008954, allocations: 48.55 kB / 380.6 MB, free: 22.46 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.009267, allocations: 481.9 kB / 381.1 MB, free: 21.9 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.009282, allocations: 3.938 kB / 381.1 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.009307, allocations: 23.98 kB / 381.1 MB, free: 21.87 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.838e-05/0.009365, allocations: 36.98 kB / 381.2 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.009555, allocations: 186.6 kB / 381.4 MB, free: 21.65 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.01095, allocations: 3.244 MB / 384.6 MB, free: 18.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.0111, allocations: 153.8 kB / 384.8 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.48e-05/0.01117, allocations: 67.39 kB / 384.8 MB, free: 18.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.01119, allocations: 15.98 kB / 384.8 MB, free: 18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.434e-05/0.0112, allocations: 37.33 kB / 384.9 MB, free: 17.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 1.433e-06/0.0112, allocations: 0 / 384.9 MB, free: 17.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005746/0.01178, allocations: 0.5148 MB / 385.4 MB, free: 17.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.0118, allocations: 81.11 kB / 385.5 MB, free: 17.31 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.01193, allocations: 350 kB / 385.8 MB, free: 16.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.01194, allocations: 33.7 kB / 385.8 MB, free: 16.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.156e-05/0.01202, allocations: 338.7 kB / 386.2 MB, free: 16.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.01206, allocations: 107 kB / 386.3 MB, free: 16.47 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.438e-05/0.01214, allocations: 103.8 kB / 386.4 MB, free: 16.36 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.359e-05/0.01219, allocations: 0.5196 MB / 386.9 MB, free: 15.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.997e-05/0.01224, allocations: 48.95 kB / 386.9 MB, free: 15.78 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.01235, allocations: 339.4 kB / 387.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.01255, allocations: 446.3 kB / 387.7 MB, free: 14.76 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.01255, allocations: 0 / 387.7 MB, free: 14.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002936/0.01285, allocations: 372.7 kB / 388.1 MB, free: 14.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.01286, allocations: 11.94 kB / 388.1 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.01287, allocations: 4.844 kB / 388.1 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.01288, allocations: 12 kB / 388.1 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.01309, allocations: 111.8 kB / 388.2 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.0131, allocations: 15.92 kB / 388.2 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.01321, allocations: 15.94 kB / 388.2 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.01323, allocations: 20 kB / 388.3 MB, free: 14.2 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (58): * Single equations (assignments): 58 * Array equations: 0 * 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 8.678e-05/0.01332, allocations: 188.4 kB / 388.4 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.01336, allocations: 39.75 kB / 388.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002302/0.01359, allocations: 230.2 kB / 388.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.01359, allocations: 4 kB / 388.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.01359, allocations: 0 / 388.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.0136, allocations: 4 kB / 388.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005051/0.0141, allocations: 0.6027 MB / 389.3 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.0141, allocations: 4 kB / 389.3 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.01424, allocations: 63.91 kB / 389.4 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.01425, allocations: 0 / 389.4 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.01426, allocations: 8 kB / 389.4 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.01426, allocations: 7.984 kB / 389.4 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01426, allocations: 0 / 389.4 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.01452, allocations: 456.3 kB / 389.9 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.01454, allocations: 43.75 kB / 389.9 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.01457, allocations: 8 kB / 389.9 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.512e-05/0.01464, allocations: 4 kB / 389.9 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.01467, allocations: 15.97 kB / 389.9 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.01468, allocations: 15.98 kB / 389.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.116e-05/0.01474, allocations: 214.9 kB / 390.1 MB, free: 12.22 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01474, allocations: 0 / 390.1 MB, free: 12.22 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002573/0.015, allocations: 88 kB / 390.2 MB, free: 12.13 MB / 314.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 (31): * Single equations (assignments): 30 * Array equations: 0 * 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 6.552e-05/0.01506, allocations: 115.1 kB / 390.3 MB, free: 12.01 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001924/0.01525, allocations: 226.1 kB / 390.6 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.01526, allocations: 0 / 390.6 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.78e-05/0.01532, allocations: 96.33 kB / 390.7 MB, free: 11.69 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.01561, allocations: 74.52 kB / 390.7 MB, free: 11.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009355/0.01655, allocations: 0.8495 MB / 391.6 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.217e-05/0.01661, allocations: 141.2 kB / 391.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.01672, allocations: 51.25 kB / 391.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.01683, allocations: 130.2 kB / 391.9 MB, free: 10.39 MB / 314.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01683, allocations: 0 / 391.9 MB, free: 10.39 MB / 314.7 MB Notification: Performance of Templates: time 0.004587/0.02142, allocations: 3.581 MB / 395.5 MB, free: 6.883 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.079501216299832]