Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.001904/0.001904, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002011/0.002011, allocations: 165.3 kB / 24.27 MB, free: 152 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.535/1.535, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.297/0.297, allocations: 29.41 MB / 290.5 MB, free: 2.43 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.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.438e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.006446/0.006471, allocations: 4.014 MB / 372.9 MB, free: 7.289 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.008132, allocations: 0.8649 MB / 373.8 MB, free: 6.422 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.008286, allocations: 19.81 kB / 373.8 MB, free: 6.402 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002018/0.008488, allocations: 43.62 kB / 373.8 MB, free: 6.359 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004987/0.008986, allocations: 174.9 kB / 374 MB, free: 6.188 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.009185, allocations: 87.75 kB / 374.1 MB, free: 6.102 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004863/0.009671, allocations: 378.5 kB / 374.5 MB, free: 5.73 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.009843, allocations: 64.72 kB / 374.5 MB, free: 5.672 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004192/0.01026, allocations: 231.2 kB / 374.7 MB, free: 5.445 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003416/0.0106, allocations: 159.5 kB / 374.9 MB, free: 5.289 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.476e-05/0.01065, allocations: 16 kB / 374.9 MB, free: 5.273 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.931e-05/0.0107, allocations: 16 kB / 374.9 MB, free: 5.258 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.01083, allocations: 83.73 kB / 375 MB, free: 5.176 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.01096, allocations: 83.83 kB / 375.1 MB, free: 5.094 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003897/0.01135, allocations: 251.2 kB / 375.3 MB, free: 4.848 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.01136, allocations: 4 kB / 375.3 MB, free: 4.844 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01136, allocations: 0 / 375.3 MB, free: 4.844 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.01136, allocations: 0 / 375.3 MB, free: 4.844 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001013/0.01238, allocations: 0.6057 MB / 375.9 MB, free: 4.203 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.01241, allocations: 11.98 kB / 376 MB, free: 4.191 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.927e-05/0.01251, allocations: 52.73 kB / 376 MB, free: 4.141 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005304/0.01304, allocations: 271.1 kB / 376.3 MB, free: 3.848 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.01307, allocations: 12.88 kB / 376.3 MB, free: 3.836 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.832e-05/0.01311, allocations: 28.31 kB / 376.3 MB, free: 3.809 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004329/0.01355, allocations: 249.5 kB / 376.6 MB, free: 3.523 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000252/0.0138, allocations: 11.86 kB / 376.6 MB, free: 3.512 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.01382, allocations: 8 kB / 376.6 MB, free: 3.504 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.01383, allocations: 8 kB / 376.6 MB, free: 3.496 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002196/0.01405, allocations: 95.66 kB / 376.7 MB, free: 3.402 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.01572, allocations: 1.422 MB / 378.1 MB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.01589, allocations: 94.02 kB / 378.2 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.384e-05/0.01596, allocations: 35.47 kB / 378.2 MB, free: 1.738 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.01598, allocations: 0 / 378.2 MB, free: 1.738 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.01601, allocations: 41.39 kB / 378.3 MB, free: 1.688 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.01601, allocations: 4 kB / 378.3 MB, free: 1.684 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007713/0.01679, allocations: 352.7 kB / 378.6 MB, free: 1.301 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.01685, allocations: 77.11 kB / 378.7 MB, free: 1.207 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.01719, allocations: 324.2 kB / 379 MB, free: 0.875 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.01721, allocations: 25.7 kB / 379 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.01742, allocations: 250.7 kB / 379.3 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.01746, allocations: 35.73 kB / 379.3 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.1e-05/0.01754, allocations: 51.31 kB / 379.4 MB, free: 0.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002996/0.01784, allocations: 0.5119 MB / 379.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.019e-05/0.0179, allocations: 31.98 kB / 379.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.01809, allocations: 174.4 kB / 380.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.01838, allocations: 215.1 kB / 380.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.01838, allocations: 0 / 380.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003147/0.01869, allocations: 193.5 kB / 380.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.01871, allocations: 4 kB / 380.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.01872, allocations: 4 kB / 380.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.01874, allocations: 4 kB / 380.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.0189, allocations: 39.92 kB / 380.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.01891, allocations: 11.94 kB / 380.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.895e-05/0.01901, allocations: 15.88 kB / 380.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.01903, allocations: 8 kB / 380.6 MB, free: 15.16 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (22): * Single equations (assignments): 22 * 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.0001775/0.0192, allocations: 180.5 kB / 380.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.536e-05/0.01925, allocations: 28.41 kB / 380.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.01944, allocations: 91.44 kB / 380.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.01944, allocations: 4 kB / 380.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.01945, allocations: 0 / 380.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.01945, allocations: 3.938 kB / 380.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005602/0.02001, allocations: 445.2 kB / 381.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.02001, allocations: 0 / 381.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.771e-05/0.02011, allocations: 19.98 kB / 381.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.02011, allocations: 0 / 381.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.02012, allocations: 0 / 381.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/0.02013, allocations: 11.98 kB / 381.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.02014, allocations: 7.984 kB / 381.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.02047, allocations: 287.2 kB / 381.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.02051, allocations: 15.86 kB / 381.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.275e-05/0.02054, allocations: 11.98 kB / 381.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.47e-05/0.02062, allocations: 3.938 kB / 381.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.766e-05/0.02065, allocations: 4 kB / 381.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.02066, allocations: 0 / 381.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001949/0.02085, allocations: 217.1 kB / 381.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02085, allocations: 0 / 381.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00031/0.02116, allocations: 40 kB / 381.9 MB, free: 13.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * 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.0001214/0.02128, allocations: 99.27 kB / 382 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002143/0.0215, allocations: 99.47 kB / 382.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.0215, allocations: 0 / 382.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.186e-05/0.02157, allocations: 44.55 kB / 382.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/0.02206, allocations: 58.56 kB / 382.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009279/0.02299, allocations: 485.8 kB / 382.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.02316, allocations: 150 kB / 382.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.927e-05/0.02325, allocations: 26.28 kB / 382.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.297e-05/0.0233, allocations: 20.5 kB / 382.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.0233, allocations: 0 / 382.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of Templates: time 0.006118/0.02942, allocations: 1.774 MB / 384.6 MB, free: 10.97 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.65093215694651]