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.00164/0.00164, allocations: 88.34 kB / 20.95 MB, free: 3.457 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.00207/0.00207, allocations: 161.3 kB / 24.26 MB, free: 156 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.506/1.506, 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.2939/0.2939, allocations: 29.42 MB / 290.5 MB, free: 2.445 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 3.036e-06/3.036e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.508e-05/3.811e-05, allocations: 2.312 kB / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.008062/0.008101, allocations: 4.327 MB / 373.2 MB, free: 6.977 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003279/0.01138, allocations: 1.379 MB / 374.6 MB, free: 5.594 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003561/0.01174, allocations: 19.81 kB / 374.6 MB, free: 5.574 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.01314, allocations: 362.4 kB / 374.9 MB, free: 5.219 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007592/0.0139, allocations: 242.7 kB / 375.2 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008994/0.0148, allocations: 263.1 kB / 375.4 MB, free: 4.723 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008229/0.01562, allocations: 0.5377 MB / 376 MB, free: 4.184 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005239/0.01615, allocations: 217.5 kB / 376.2 MB, free: 3.973 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007401/0.01689, allocations: 338.9 kB / 376.5 MB, free: 3.641 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006673/0.01755, allocations: 279.3 kB / 376.8 MB, free: 3.367 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.591e-05/0.01764, allocations: 32 kB / 376.8 MB, free: 3.336 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004079/0.01805, allocations: 151.7 kB / 377 MB, free: 3.188 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002928/0.01834, allocations: 231.4 kB / 377.2 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002852/0.01862, allocations: 167.6 kB / 377.4 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008766/0.0195, allocations: 0.5763 MB / 377.9 MB, free: 2.219 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.01951, allocations: 4 kB / 377.9 MB, free: 2.215 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01951, allocations: 0 / 377.9 MB, free: 2.215 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.877e-05/0.01953, allocations: 0 / 377.9 MB, free: 2.215 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.001608/0.02113, allocations: 0.6707 MB / 378.6 MB, free: 1.516 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.02118, allocations: 15.98 kB / 378.6 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008727/0.02206, allocations: 164.4 kB / 378.8 MB, free: 1.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00075/0.02281, allocations: 357.3 kB / 379.1 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.402e-05/0.02286, allocations: 33.38 kB / 379.2 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.023, allocations: 40.56 kB / 379.2 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.02404, allocations: 0.629 MB / 379.8 MB, free: 208 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.02406, allocations: 4 kB / 379.8 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.147e-05/0.02411, allocations: 20 kB / 379.9 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000119/0.02423, allocations: 28.98 kB / 379.9 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008742/0.02511, allocations: 475.5 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003627/0.02873, allocations: 2.68 MB / 383 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004321/0.02916, allocations: 224.3 kB / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.0294, allocations: 133.7 kB / 383.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.02943, allocations: 4 kB / 383.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.02947, allocations: 42.48 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.523e-06/0.02947, allocations: 0 / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001893/0.03136, allocations: 0.9069 MB / 384.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/0.03143, allocations: 77.11 kB / 384.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004139/0.03185, allocations: 328.5 kB / 384.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.453e-05/0.03188, allocations: 29.7 kB / 384.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.03212, allocations: 284 kB / 385 MB, free: 10.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.03223, allocations: 107.1 kB / 385.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.03238, allocations: 94.14 kB / 385.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.03258, allocations: 342.8 kB / 385.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002604/0.03284, allocations: 144.9 kB / 385.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004389/0.03328, allocations: 346.6 kB / 386.1 MB, free: 9.645 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007734/0.03405, allocations: 0.521 MB / 386.6 MB, free: 9.031 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.03405, allocations: 4 kB / 386.6 MB, free: 9.027 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009552/0.03501, allocations: 0.5555 MB / 387.1 MB, free: 8.465 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.03503, allocations: 8 kB / 387.1 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.03505, allocations: 8 kB / 387.1 MB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.868e-05/0.03507, allocations: 8 kB / 387.2 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004592/0.03553, allocations: 115.8 kB / 387.3 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.225e-05/0.03556, allocations: 20.39 kB / 387.3 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.03583, allocations: 27.98 kB / 387.3 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.407e-05/0.03587, allocations: 24 kB / 387.3 MB, free: 8.258 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.0002669/0.03614, allocations: 213.6 kB / 387.5 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.279e-05/0.03623, allocations: 47.75 kB / 387.6 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007002/0.03693, allocations: 361.6 kB / 387.9 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.03694, allocations: 0 / 387.9 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.03694, allocations: 4 kB / 388 MB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.03695, allocations: 0 / 388 MB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.03847, allocations: 0.7705 MB / 388.7 MB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.03847, allocations: 4 kB / 388.7 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003593/0.03883, allocations: 63.89 kB / 388.8 MB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/0.03884, allocations: 4 kB / 388.8 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.102e-05/0.03887, allocations: 12 kB / 388.8 MB, free: 6.727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.03888, allocations: 3.938 kB / 388.8 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.03888, allocations: 4 kB / 388.8 MB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009352/0.03982, allocations: 0.5938 MB / 389.4 MB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.693e-05/0.03988, allocations: 35.77 kB / 389.4 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.339e-05/0.03994, allocations: 16.12 kB / 389.5 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.04013, allocations: 8 kB / 389.5 MB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.04018, allocations: 23.89 kB / 389.5 MB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/0.04021, allocations: 15.94 kB / 389.5 MB, free: 6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002447/0.04046, allocations: 207.1 kB / 389.7 MB, free: 5.801 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04046, allocations: 0 / 389.7 MB, free: 5.801 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000495/0.04095, allocations: 96 kB / 389.8 MB, free: 5.707 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 0.0001427/0.0411, allocations: 103.2 kB / 389.9 MB, free: 5.598 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006622/0.04176, allocations: 359.5 kB / 390.2 MB, free: 5.246 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.04176, allocations: 0 / 390.2 MB, free: 5.246 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000234/0.04199, allocations: 133.6 kB / 390.4 MB, free: 5.117 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005539/0.04255, allocations: 82.73 kB / 390.5 MB, free: 5.043 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.04431, allocations: 0.9137 MB / 391.4 MB, free: 4.086 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.04464, allocations: 249.7 kB / 391.6 MB, free: 3.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003371/0.04498, allocations: 131.1 kB / 391.7 MB, free: 3.691 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.04509, allocations: 36.5 kB / 391.8 MB, free: 3.656 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/0.04509, allocations: 0 / 391.8 MB, free: 3.656 MB / 362.7 MB Notification: Performance of Templates: time 0.008367/0.05346, allocations: 3.27 MB / 395.1 MB, free: 468 kB / 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.785549552063458]