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.001039/0.001039, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009953/0.0009953, allocations: 165.4 kB / 24.56 MB, free: 16 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 0.9217/0.9217, allocations: 177.1 MB / 205 MB, free: 5.289 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.2189/0.2189, allocations: 29.41 MB / 290.9 MB, free: 2.457 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.694e-06/1.694e-06, allocations: 0 / 369.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.326e-05/1.495e-05, allocations: 2.312 kB / 369.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.003615/0.00363, allocations: 4.063 MB / 373.7 MB, free: 6.945 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.005061, allocations: 1.442 MB / 375.1 MB, free: 5.5 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.00519, allocations: 19.81 kB / 375.1 MB, free: 5.48 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004034/0.005593, allocations: 143.2 kB / 375.3 MB, free: 5.34 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002983/0.005892, allocations: 230.7 kB / 375.5 MB, free: 5.113 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.00629, allocations: 259.1 kB / 375.8 MB, free: 4.859 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003622/0.006652, allocations: 0.5455 MB / 376.3 MB, free: 4.312 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002606/0.006913, allocations: 217.8 kB / 376.5 MB, free: 4.102 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003408/0.007254, allocations: 375 kB / 376.9 MB, free: 3.734 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.007473, allocations: 259.3 kB / 377.1 MB, free: 3.48 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.586e-05/0.007508, allocations: 28 kB / 377.2 MB, free: 3.453 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.007697, allocations: 147.7 kB / 377.3 MB, free: 3.309 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.00784, allocations: 235.4 kB / 377.5 MB, free: 3.078 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.007959, allocations: 163.7 kB / 377.7 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000368/0.008327, allocations: 438.5 kB / 378.1 MB, free: 2.488 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.008329, allocations: 4 kB / 378.1 MB, free: 2.484 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.00833, allocations: 0 / 378.1 MB, free: 2.484 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.008335, allocations: 0 / 378.1 MB, free: 2.484 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.0007153/0.00905, allocations: 0.7783 MB / 378.9 MB, free: 1.672 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.009083, allocations: 15.98 kB / 378.9 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004338/0.009516, allocations: 160.4 kB / 379.1 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.009837, allocations: 335.2 kB / 379.4 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.009859, allocations: 33.38 kB / 379.4 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.39e-05/0.009933, allocations: 48.55 kB / 379.5 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004453/0.01038, allocations: 0.4941 MB / 380 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.01039, allocations: 4 kB / 380 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.01042, allocations: 16 kB / 380 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.196e-05/0.01048, allocations: 32.98 kB / 380 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002915/0.01077, allocations: 233.6 kB / 380.3 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002027/0.0128, allocations: 3.356 MB / 383.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.01299, allocations: 165.9 kB / 383.8 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.875e-05/0.01308, allocations: 79.41 kB / 383.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.0131, allocations: 8 kB / 383.9 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.01312, allocations: 41.33 kB / 383.9 MB, free: 12.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.563e-06/0.01312, allocations: 4 kB / 383.9 MB, free: 12.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.000779/0.0139, allocations: 0.6623 MB / 384.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.01393, allocations: 85.05 kB / 384.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.01413, allocations: 366.1 kB / 385 MB, free: 11.19 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.01414, allocations: 25.7 kB / 385 MB, free: 11.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.01427, allocations: 330.7 kB / 385.4 MB, free: 10.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.384e-05/0.01432, allocations: 111.1 kB / 385.5 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.99e-05/0.0144, allocations: 99.8 kB / 385.6 MB, free: 10.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.01452, allocations: 0.5196 MB / 386.1 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.333e-05/0.0146, allocations: 61.09 kB / 386.1 MB, free: 10.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.01481, allocations: 355.5 kB / 386.5 MB, free: 9.551 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.01515, allocations: 466.3 kB / 386.9 MB, free: 8.969 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01515, allocations: 0 / 386.9 MB, free: 8.969 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003779/0.01553, allocations: 413.4 kB / 387.4 MB, free: 8.559 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.01554, allocations: 8 kB / 387.4 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.01555, allocations: 12.06 kB / 387.4 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.01556, allocations: 8 kB / 387.4 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.01578, allocations: 115.8 kB / 387.5 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.01579, allocations: 15.92 kB / 387.5 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.0159, allocations: 23.98 kB / 387.5 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.01593, allocations: 24 kB / 387.6 MB, free: 8.355 MB / 362.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 0.0003419/0.01627, allocations: 192.4 kB / 387.7 MB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.01631, allocations: 39.75 kB / 387.8 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/0.01659, allocations: 257.6 kB / 388 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.01659, allocations: 8 kB / 388 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.0166, allocations: 0 / 388 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.0166, allocations: 4 kB / 388 MB, free: 7.844 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000664/0.01726, allocations: 0.7078 MB / 388.8 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01727, allocations: 3.938 kB / 388.8 MB, free: 7.078 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.01742, allocations: 59.97 kB / 388.8 MB, free: 7.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.01742, allocations: 4 kB / 388.8 MB, free: 7.016 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.01744, allocations: 4 kB / 388.8 MB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.01744, allocations: 16.02 kB / 388.8 MB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01744, allocations: 0 / 388.8 MB, free: 6.996 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/0.01781, allocations: 495.8 kB / 389.3 MB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.01784, allocations: 31.7 kB / 389.4 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.01787, allocations: 12 kB / 389.4 MB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.878e-05/0.01795, allocations: 11.98 kB / 389.4 MB, free: 6.422 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.01798, allocations: 19.91 kB / 389.4 MB, free: 6.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.01799, allocations: 15.94 kB / 389.4 MB, free: 6.387 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001086/0.0181, allocations: 227 kB / 389.6 MB, free: 6.168 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0181, allocations: 0 / 389.6 MB, free: 6.168 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002501/0.01835, allocations: 96 kB / 389.7 MB, free: 6.074 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 (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 8.243e-05/0.01843, allocations: 103.1 kB / 389.8 MB, free: 5.961 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002736/0.01871, allocations: 245.9 kB / 390.1 MB, free: 5.719 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.01871, allocations: 192 / 390.1 MB, free: 5.719 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.01881, allocations: 111.5 kB / 390.2 MB, free: 5.605 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.01911, allocations: 66.59 kB / 390.2 MB, free: 5.539 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.02024, allocations: 0.8445 MB / 391.1 MB, free: 4.645 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.76e-05/0.02031, allocations: 137.2 kB / 391.2 MB, free: 4.488 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001601/0.02047, allocations: 119.1 kB / 391.3 MB, free: 4.375 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.655e-05/0.02054, allocations: 36.5 kB / 391.4 MB, free: 4.34 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.02054, allocations: 4 kB / 391.4 MB, free: 4.336 MB / 362.7 MB Notification: Performance of Templates: time 0.005243/0.02578, allocations: 3.411 MB / 394.8 MB, free: 0.9922 MB / 362.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: 2.798637359868735]