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.0009829/0.0009829, 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.001002/0.001002, allocations: 161 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.9145/0.9145, allocations: 177.1 MB / 205 MB, free: 5.609 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.2365/0.2365, allocations: 29.43 MB / 290.9 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.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.523e-06/1.523e-06, allocations: 0 / 369.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.053e-05/2.205e-05, allocations: 2.312 kB / 369.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.004949/0.004971, allocations: 3.772 MB / 373.4 MB, free: 7.164 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.006408, allocations: 0.8766 MB / 374.3 MB, free: 6.285 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.006585, allocations: 15.88 kB / 374.3 MB, free: 6.27 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.006775, allocations: 43.58 kB / 374.3 MB, free: 6.227 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005884/0.007363, allocations: 171 kB / 374.5 MB, free: 6.059 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.00761, allocations: 87.75 kB / 374.6 MB, free: 5.973 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005125/0.008123, allocations: 386.5 kB / 375 MB, free: 5.594 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002187/0.008341, allocations: 52.75 kB / 375 MB, free: 5.547 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005847/0.008926, allocations: 275.2 kB / 375.3 MB, free: 5.277 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002299/0.009156, allocations: 119.7 kB / 375.4 MB, free: 5.16 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.143e-05/0.009197, allocations: 16 kB / 375.4 MB, free: 5.145 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.233e-05/0.00924, allocations: 16 kB / 375.4 MB, free: 5.129 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.009346, allocations: 91.72 kB / 375.5 MB, free: 5.039 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.009461, allocations: 87.78 kB / 375.6 MB, free: 4.953 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.009762, allocations: 179.3 kB / 375.8 MB, free: 4.777 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.009765, allocations: 0 / 375.8 MB, free: 4.777 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.009767, allocations: 0 / 375.8 MB, free: 4.777 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.009772, allocations: 0 / 375.8 MB, free: 4.777 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.0007799/0.01055, allocations: 0.5866 MB / 376.4 MB, free: 4.156 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.0106, allocations: 15.98 kB / 376.4 MB, free: 4.141 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.954e-05/0.01068, allocations: 40.75 kB / 376.4 MB, free: 4.102 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004377/0.01112, allocations: 271.9 kB / 376.7 MB, free: 3.809 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.01115, allocations: 12.88 kB / 376.7 MB, free: 3.797 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.148e-05/0.0112, allocations: 28.36 kB / 376.7 MB, free: 3.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003633/0.01156, allocations: 229.5 kB / 377 MB, free: 3.504 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.01157, allocations: 0 / 377 MB, free: 3.504 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/0.0116, allocations: 12 kB / 377 MB, free: 3.492 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.01161, allocations: 4 kB / 377 MB, free: 3.488 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.01178, allocations: 87.59 kB / 377.1 MB, free: 3.402 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.01295, allocations: 1.379 MB / 378.4 MB, free: 1.938 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.01308, allocations: 78.08 kB / 378.5 MB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.612e-05/0.01313, allocations: 31.47 kB / 378.6 MB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.01314, allocations: 3.938 kB / 378.6 MB, free: 1.793 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.01317, allocations: 37.39 kB / 378.6 MB, free: 1.746 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.01317, allocations: 0 / 378.6 MB, free: 1.746 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006414/0.01381, allocations: 336.8 kB / 378.9 MB, free: 1.379 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.01386, allocations: 81.11 kB / 379 MB, free: 1.281 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.01408, allocations: 288.2 kB / 379.3 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.01409, allocations: 25.7 kB / 379.3 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.01423, allocations: 238.7 kB / 379.5 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.01426, allocations: 35.72 kB / 379.6 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.014e-05/0.01432, allocations: 51.31 kB / 379.6 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.01447, allocations: 0.504 MB / 380.1 MB, free: 108 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.896e-05/0.01451, allocations: 15.98 kB / 380.1 MB, free: 92 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.01464, allocations: 159.2 kB / 380.3 MB, free: 15.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.01481, allocations: 191.1 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.01481, allocations: 0 / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002377/0.01505, allocations: 177.1 kB / 380.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.01507, allocations: 10.78 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.01508, allocations: 8 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.01509, allocations: 4 kB / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.01523, allocations: 40.36 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.01524, allocations: 4 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.682e-05/0.01532, allocations: 15.92 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.01534, allocations: 8 kB / 380.8 MB, free: 15.36 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 9.772e-05/0.01544, allocations: 164.5 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/0.01548, allocations: 31.89 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.01561, allocations: 87.38 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.01562, allocations: 0 / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.01562, allocations: 4 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.01562, allocations: 7.938 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003714/0.016, allocations: 393.1 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.016, allocations: 7.938 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.702e-05/0.01607, allocations: 15.98 kB / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.01608, allocations: 0 / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.01609, allocations: 4 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.01609, allocations: 3.938 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.01609, allocations: 320 / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.01631, allocations: 271.2 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.555e-05/0.01634, allocations: 19.86 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.01636, allocations: 4 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.298e-05/0.01643, allocations: 7.875 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.145e-05/0.01645, allocations: 7.984 kB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.01646, allocations: 4 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001207/0.01658, allocations: 193.1 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01658, allocations: 0 / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003267/0.01691, allocations: 43.94 kB / 382 MB, free: 14.02 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 9.374e-05/0.017, allocations: 91.25 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001635/0.01717, allocations: 102.8 kB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01717, allocations: 0 / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.657e-05/0.01721, allocations: 31.67 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.01765, allocations: 63.47 kB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.01886, allocations: 489.7 kB / 382.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.393e-05/0.01893, allocations: 92.3 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.539e-05/0.01902, allocations: 26.28 kB / 382.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.964e-05/0.01906, allocations: 20.5 kB / 382.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01906, allocations: 0 / 382.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of Templates: time 0.004729/0.02379, allocations: 1.874 MB / 384.8 MB, free: 11.23 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: 2.9917002068832517]