Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.001018/0.001018, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001755/0.001755, allocations: 169.1 kB / 24.91 MB, free: 9.199 MB / 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.039/1.039, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2636/0.2636, allocations: 29.42 MB / 291.2 MB, free: 2.48 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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 316.8 MB, free: 4 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.314e-05/4.494e-05, allocations: 7.016 kB / 316.8 MB, free: 16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.005657/0.005702, allocations: 3.918 MB / 320.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002357/0.008059, allocations: 0.916 MB / 321.7 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002816/0.008341, allocations: 19.81 kB / 321.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002248/0.008565, allocations: 43.62 kB / 321.7 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007252/0.009291, allocations: 194.8 kB / 321.9 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.009587, allocations: 87.8 kB / 322 MB, free: 10.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005563/0.01014, allocations: 422.3 kB / 322.4 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002376/0.01038, allocations: 84.64 kB / 322.5 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006692/0.01105, allocations: 283.3 kB / 322.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.01133, allocations: 139.6 kB / 322.9 MB, free: 9.883 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.01138, allocations: 20 kB / 322.9 MB, free: 9.863 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.02e-05/0.01142, allocations: 16 kB / 323 MB, free: 9.848 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.01153, allocations: 95.66 kB / 323 MB, free: 9.754 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.01164, allocations: 91.77 kB / 323.1 MB, free: 9.664 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.01201, allocations: 207.1 kB / 323.3 MB, free: 9.461 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.01201, allocations: 0 / 323.3 MB, free: 9.461 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.01201, allocations: 8 kB / 323.3 MB, free: 9.453 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.01202, allocations: 0 / 323.3 MB, free: 9.453 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007682/0.01279, allocations: 496.4 kB / 323.8 MB, free: 8.938 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.01284, allocations: 15.92 kB / 323.8 MB, free: 8.922 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.136e-05/0.01291, allocations: 40.91 kB / 323.9 MB, free: 8.883 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/0.01326, allocations: 268.5 kB / 324.1 MB, free: 8.598 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.01328, allocations: 16.88 kB / 324.2 MB, free: 8.582 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.999e-05/0.01332, allocations: 20.38 kB / 324.2 MB, free: 8.562 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.01357, allocations: 223.6 kB / 324.4 MB, free: 8.309 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.01358, allocations: 4 kB / 324.4 MB, free: 8.305 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.01359, allocations: 4 kB / 324.4 MB, free: 8.301 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.0136, allocations: 8 kB / 324.4 MB, free: 8.293 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.131e-05/0.01369, allocations: 76.92 kB / 324.5 MB, free: 8.219 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.01499, allocations: 1.012 MB / 325.5 MB, free: 7.148 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.01522, allocations: 83.83 kB / 325.6 MB, free: 7.047 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.54e-05/0.01527, allocations: 29.77 kB / 325.6 MB, free: 7.012 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.01529, allocations: 4 kB / 325.6 MB, free: 7.008 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.01532, allocations: 30.56 kB / 325.7 MB, free: 6.969 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 3.076e-06/0.01532, allocations: 0 / 325.7 MB, free: 6.969 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003301/0.01565, allocations: 113.5 kB / 325.8 MB, free: 6.852 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.0157, allocations: 81.11 kB / 325.8 MB, free: 6.754 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.01588, allocations: 245 kB / 326.1 MB, free: 6.504 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.0159, allocations: 29.7 kB / 326.1 MB, free: 6.469 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.892e-05/0.01598, allocations: 180.5 kB / 326.3 MB, free: 6.289 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.01602, allocations: 39.67 kB / 326.3 MB, free: 6.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.441e-05/0.01608, allocations: 41.69 kB / 326.4 MB, free: 6.203 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.0162, allocations: 334.8 kB / 326.7 MB, free: 5.867 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.904e-05/0.01623, allocations: 12 kB / 326.7 MB, free: 5.855 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.096e-05/0.01632, allocations: 118.2 kB / 326.8 MB, free: 5.699 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.01648, allocations: 142.6 kB / 327 MB, free: 5.516 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.01648, allocations: 0 / 327 MB, free: 5.516 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001864/0.01667, allocations: 145.2 kB / 327.1 MB, free: 5.367 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.01669, allocations: 8 kB / 327.1 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.0167, allocations: 4 kB / 327.1 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.01672, allocations: 4 kB / 327.1 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.01686, allocations: 39.92 kB / 327.2 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.01686, allocations: 8.344 kB / 327.2 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.338e-05/0.01696, allocations: 27.84 kB / 327.2 MB, free: 5.277 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.01697, allocations: 7.984 kB / 327.2 MB, free: 5.27 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 23 * 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.000111/0.01708, allocations: 132.6 kB / 327.3 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.01712, allocations: 15.92 kB / 327.3 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.01728, allocations: 95.08 kB / 327.4 MB, free: 5.016 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.01728, allocations: 4 kB / 327.4 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.01729, allocations: 0 / 327.4 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01729, allocations: 0 / 327.4 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.01749, allocations: 136.6 kB / 327.6 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.01749, allocations: 0 / 327.6 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.346e-05/0.01758, allocations: 23.94 kB / 327.6 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.01759, allocations: 3.938 kB / 327.6 MB, free: 4.832 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.0176, allocations: 7.984 kB / 327.6 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.0176, allocations: 0 / 327.6 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.0176, allocations: 4 kB / 327.6 MB, free: 4.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.01782, allocations: 203.1 kB / 327.8 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.01e-05/0.01785, allocations: 19.81 kB / 327.8 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.01788, allocations: 7.938 kB / 327.8 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.383e-05/0.01795, allocations: 4 kB / 327.8 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.128e-05/0.01797, allocations: 7.984 kB / 327.8 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.01798, allocations: 4.031 kB / 327.9 MB, free: 4.559 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.553e-05/0.01805, allocations: 82.77 kB / 327.9 MB, free: 4.473 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01805, allocations: 3.938 kB / 327.9 MB, free: 4.469 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002825/0.01834, allocations: 51.89 kB / 328 MB, free: 4.418 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 11 * 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.0001176/0.01845, allocations: 88.36 kB / 328.1 MB, free: 4.324 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001434/0.0186, allocations: 69.31 kB / 328.1 MB, free: 4.254 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.0186, allocations: 4.188 kB / 328.1 MB, free: 4.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.429e-05/0.01865, allocations: 36.78 kB / 328.2 MB, free: 4.211 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.019, allocations: 57.09 kB / 328.2 MB, free: 4.156 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.02013, allocations: 0.518 MB / 328.8 MB, free: 3.609 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.765e-05/0.02021, allocations: 96.3 kB / 328.8 MB, free: 3.496 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.02031, allocations: 38.27 kB / 328.9 MB, free: 3.461 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.02045, allocations: 87.36 kB / 329 MB, free: 3.375 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.02045, allocations: 0 / 329 MB, free: 3.375 MB / 298.7 MB Notification: Performance of Templates: time 0.005423/0.02588, allocations: 2.221 MB / 331.2 MB, free: 1.215 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.100490917917341]