Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.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.001735/0.001735, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.002453/0.002453, allocations: 161.6 kB / 24.27 MB, free: 172 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.476/1.476, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.317/0.317, allocations: 29.42 MB / 290.5 MB, free: 2.426 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.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.794e-05/2.996e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.009085/0.009115, allocations: 5.806 MB / 374.7 MB, free: 5.477 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004557/0.01367, allocations: 1.869 MB / 376.5 MB, free: 3.602 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006636/0.01434, allocations: 31.75 kB / 376.6 MB, free: 3.57 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002291/0.01663, allocations: 0.6845 MB / 377.3 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001209/0.01784, allocations: 393.7 kB / 377.6 MB, free: 2.496 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.01918, allocations: 418.6 kB / 378.1 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00155/0.02073, allocations: 0.9587 MB / 379 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009019/0.02164, allocations: 392.3 kB / 379.4 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.02304, allocations: 0.5647 MB / 380 MB, free: 180 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.02409, allocations: 0.5065 MB / 380.5 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000218/0.02431, allocations: 56 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007534/0.02506, allocations: 251.5 kB / 380.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006407/0.0257, allocations: 446.9 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007106/0.02641, allocations: 295.3 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.02806, allocations: 1.04 MB / 382.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.02807, allocations: 0 / 382.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.02807, allocations: 0 / 382.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.648e-05/0.02813, allocations: 0 / 382.5 MB, free: 13.6 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002624/0.03075, allocations: 1.015 MB / 383.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.0308, allocations: 15.98 kB / 383.6 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.03216, allocations: 300 kB / 383.9 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.03329, allocations: 0.5014 MB / 384.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.586e-05/0.03336, allocations: 54.38 kB / 384.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.03351, allocations: 76.38 kB / 384.5 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/0.03556, allocations: 1.13 MB / 385.6 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.444e-05/0.03559, allocations: 7.938 kB / 385.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.219e-05/0.03568, allocations: 36 kB / 385.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-05/0.03576, allocations: 57.92 kB / 385.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/0.03765, allocations: 0.8584 MB / 386.6 MB, free: 9.387 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006734/0.04438, allocations: 4.716 MB / 391.3 MB, free: 4.461 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008146/0.0452, allocations: 391.9 kB / 391.7 MB, free: 4.059 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003805/0.04558, allocations: 193.7 kB / 391.9 MB, free: 3.863 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.876e-05/0.04563, allocations: 12.69 kB / 391.9 MB, free: 3.852 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.04567, allocations: 34.56 kB / 391.9 MB, free: 3.809 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.474e-06/0.04567, allocations: 0 / 391.9 MB, free: 3.809 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.00242/0.04809, allocations: 1.108 MB / 393 MB, free: 2.691 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.468e-05/0.04817, allocations: 81.11 kB / 393.1 MB, free: 2.594 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008479/0.04901, allocations: 0.4897 MB / 393.6 MB, free: 2.094 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/0.04906, allocations: 29.7 kB / 393.6 MB, free: 2.059 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004385/0.0495, allocations: 467.2 kB / 394.1 MB, free: 1.598 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/0.04969, allocations: 162.6 kB / 394.2 MB, free: 1.438 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002698/0.04996, allocations: 150.6 kB / 394.4 MB, free: 1.281 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.05018, allocations: 366.7 kB / 394.7 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004173/0.05059, allocations: 241.8 kB / 395 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008617/0.05145, allocations: 0.6129 MB / 395.6 MB, free: 15.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.05285, allocations: 0.938 MB / 396.5 MB, free: 14.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.499e-05/0.05287, allocations: 4 kB / 396.5 MB, free: 14.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001672/0.05455, allocations: 0.9431 MB / 397.5 MB, free: 13.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.05458, allocations: 15.94 kB / 397.5 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/0.0546, allocations: 12 kB / 397.5 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.885e-05/0.05464, allocations: 16 kB / 397.5 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000783/0.05542, allocations: 219.6 kB / 397.7 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.63e-05/0.05546, allocations: 27.92 kB / 397.8 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004833/0.05594, allocations: 47.95 kB / 397.8 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.86e-05/0.05602, allocations: 44 kB / 397.8 MB, free: 13.44 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (99): * Single equations (assignments): 99 * 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.000445/0.05647, allocations: 309.5 kB / 398.1 MB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.0566, allocations: 71.56 kB / 398.2 MB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.05766, allocations: 0.5538 MB / 398.8 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.05767, allocations: 11.94 kB / 398.8 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.05768, allocations: 7.984 kB / 398.8 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.05769, allocations: 0 / 398.8 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/0.05994, allocations: 1.161 MB / 399.9 MB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.05995, allocations: 0 / 399.9 MB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004609/0.06041, allocations: 111.8 kB / 400.1 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.148e-05/0.06042, allocations: 4 kB / 400.1 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/0.06046, allocations: 16 kB / 400.1 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.06046, allocations: 4 kB / 400.1 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.06047, allocations: 3.984 kB / 400.1 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.06154, allocations: 0.6596 MB / 400.7 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.06166, allocations: 55.61 kB / 400.8 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.283e-05/0.06174, allocations: 15.94 kB / 400.8 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/0.06201, allocations: 23.97 kB / 400.8 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.678e-05/0.06209, allocations: 35.83 kB / 400.9 MB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.06212, allocations: 19.98 kB / 400.9 MB, free: 10.26 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003841/0.0625, allocations: 311.1 kB / 401.2 MB, free: 9.961 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0625, allocations: 0 / 401.2 MB, free: 9.961 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007455/0.06325, allocations: 160 kB / 401.4 MB, free: 9.805 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (51): * Single equations (assignments): 50 * 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.0001623/0.06341, allocations: 111.2 kB / 401.5 MB, free: 9.688 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.06444, allocations: 0.5767 MB / 402 MB, free: 9.113 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.06445, allocations: 0 / 402 MB, free: 9.113 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003679/0.06481, allocations: 223.6 kB / 402.3 MB, free: 8.895 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000729/0.06554, allocations: 128.5 kB / 402.4 MB, free: 8.781 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.06827, allocations: 1.361 MB / 403.7 MB, free: 7.352 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000657/0.06893, allocations: 406.8 kB / 404.1 MB, free: 6.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005523/0.06948, allocations: 216.9 kB / 404.4 MB, free: 6.715 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.06966, allocations: 56.48 kB / 404.4 MB, free: 6.66 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.06967, allocations: 0 / 404.4 MB, free: 6.66 MB / 378.7 MB Notification: Performance of Templates: time 0.013/0.08267, allocations: 5.424 MB / 409.8 MB, free: 1.344 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Units.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.822757035959512]