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.001374/0.001374, 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.001699/0.001699, allocations: 165 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 1.031/1.031, allocations: 177.2 MB / 205 MB, free: 5.277 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.2454/0.2454, allocations: 29.41 MB / 290.9 MB, free: 2.41 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 2.104e-06/2.104e-06, allocations: 0 / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/3.011e-05, allocations: 2.312 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.004038/0.004068, allocations: 3.772 MB / 373.4 MB, free: 7.184 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.005254, allocations: 0.8727 MB / 374.3 MB, free: 6.309 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.005422, allocations: 19.81 kB / 374.3 MB, free: 6.289 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.005574, allocations: 39.62 kB / 374.3 MB, free: 6.25 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004268/0.006001, allocations: 171 kB / 374.5 MB, free: 6.082 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.006181, allocations: 87.75 kB / 374.6 MB, free: 5.996 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003568/0.006538, allocations: 390.5 kB / 375 MB, free: 5.613 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.006724, allocations: 56.73 kB / 375 MB, free: 5.562 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003806/0.007105, allocations: 219.4 kB / 375.2 MB, free: 5.348 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.007336, allocations: 155.6 kB / 375.4 MB, free: 5.195 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.007365, allocations: 16 kB / 375.4 MB, free: 5.18 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.099e-05/0.007396, allocations: 20 kB / 375.4 MB, free: 5.16 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.667e-05/0.007473, allocations: 83.73 kB / 375.5 MB, free: 5.078 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.447e-05/0.007557, allocations: 91.7 kB / 375.6 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002271/0.007785, allocations: 179.3 kB / 375.8 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.007787, allocations: 0 / 375.8 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.007788, allocations: 0 / 375.8 MB, free: 4.812 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.007793, allocations: 0 / 375.8 MB, free: 4.812 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.0006056/0.008399, allocations: 0.5905 MB / 376.4 MB, free: 4.188 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.008432, allocations: 19.98 kB / 376.4 MB, free: 4.168 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.52e-05/0.008498, allocations: 44.75 kB / 376.4 MB, free: 4.125 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.008811, allocations: 279.1 kB / 376.7 MB, free: 3.824 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.008827, allocations: 16.88 kB / 376.7 MB, free: 3.809 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.008859, allocations: 20.38 kB / 376.7 MB, free: 3.789 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.0091, allocations: 233.5 kB / 377 MB, free: 3.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.009108, allocations: 0 / 377 MB, free: 3.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.009123, allocations: 8 kB / 377 MB, free: 3.512 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.009132, allocations: 7.984 kB / 377 MB, free: 3.504 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.009254, allocations: 91.59 kB / 377.1 MB, free: 3.414 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00093/0.01018, allocations: 1.379 MB / 378.5 MB, free: 1.953 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.01029, allocations: 82.08 kB / 378.5 MB, free: 1.848 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.674e-05/0.01033, allocations: 31.41 kB / 378.6 MB, free: 1.809 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.01034, allocations: 4 kB / 378.6 MB, free: 1.805 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.01037, allocations: 37.39 kB / 378.6 MB, free: 1.758 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.01037, allocations: 0 / 378.6 MB, free: 1.758 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005632/0.01093, allocations: 328.8 kB / 378.9 MB, free: 1.398 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.01098, allocations: 85.05 kB / 379 MB, free: 1.297 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.01115, allocations: 284.2 kB / 379.3 MB, free: 1.004 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.01116, allocations: 29.7 kB / 379.3 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.01128, allocations: 238.7 kB / 379.5 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.0113, allocations: 35.78 kB / 379.6 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.01135, allocations: 47.27 kB / 379.6 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.01148, allocations: 0.5039 MB / 380.1 MB, free: 128 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.105e-05/0.01152, allocations: 20.11 kB / 380.2 MB, free: 108 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.01162, allocations: 159 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.01176, allocations: 191.1 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01176, allocations: 0 / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001788/0.01194, allocations: 177.6 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.01196, allocations: 8 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.01197, allocations: 4 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/0.012, allocations: 4.438 kB / 380.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.01215, allocations: 39.92 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.01216, allocations: 4 kB / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.01227, allocations: 19.88 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.01228, allocations: 8 kB / 380.8 MB, free: 15.38 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.0001231/0.01241, allocations: 168.5 kB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.01245, allocations: 19.91 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.01261, allocations: 99.42 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.01261, allocations: 0 / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.01262, allocations: 4 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.01262, allocations: 3.938 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004177/0.01304, allocations: 405.2 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01304, allocations: 0 / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.874e-05/0.01311, allocations: 15.98 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.01311, allocations: 4 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.01312, allocations: 0 / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.01313, allocations: 3.938 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.01313, allocations: 4.031 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.01334, allocations: 271.1 kB / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.227e-05/0.01338, allocations: 15.91 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.0134, allocations: 0 / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.899e-05/0.01349, allocations: 7.938 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.01352, allocations: 11.92 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.01353, allocations: 4 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001464/0.01368, allocations: 189.1 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01368, allocations: 0 / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004001/0.01408, allocations: 40 kB / 382 MB, free: 14.05 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.000142/0.01422, allocations: 103.2 kB / 382.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.0144, allocations: 87.55 kB / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.0144, allocations: 0 / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.899e-05/0.01444, allocations: 35.55 kB / 382.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/0.01494, allocations: 67.48 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.01632, allocations: 481.8 kB / 382.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.38e-05/0.0164, allocations: 88.3 kB / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.0165, allocations: 26.28 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.96e-05/0.01655, allocations: 20.5 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of SimCode: time 2.655e-06/0.01655, allocations: 0 / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of Templates: time 0.005498/0.02205, allocations: 1.79 MB / 384.7 MB, free: 11.34 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: 3.093254788313061]