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.001264/0.001264, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001362/0.001362, allocations: 170.3 kB / 24.82 MB, free: 9.266 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 0.9836/0.9836, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2221/0.2221, allocations: 29.42 MB / 291.2 MB, free: 2.469 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.954e-06/1.954e-06, allocations: 0 / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.774e-05/1.97e-05, allocations: 6.25 kB / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.003664/0.003684, allocations: 3.905 MB / 374 MB, free: 6.785 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.004757, allocations: 0.896 MB / 374.9 MB, free: 5.887 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.004895, allocations: 23.81 kB / 374.9 MB, free: 5.863 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.00505, allocations: 43.62 kB / 375 MB, free: 5.82 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000339/0.005389, allocations: 186.8 kB / 375.1 MB, free: 5.637 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001344/0.005523, allocations: 91.8 kB / 375.2 MB, free: 5.547 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002863/0.00581, allocations: 414.3 kB / 375.6 MB, free: 5.141 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.005962, allocations: 70.66 kB / 375.7 MB, free: 5.078 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003277/0.006289, allocations: 295.2 kB / 376 MB, free: 4.789 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.006462, allocations: 143.6 kB / 376.1 MB, free: 4.648 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.006492, allocations: 20 kB / 376.2 MB, free: 4.629 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.992e-05/0.006522, allocations: 16 kB / 376.2 MB, free: 4.613 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.897e-05/0.006601, allocations: 103.6 kB / 376.3 MB, free: 4.512 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.596e-05/0.006677, allocations: 91.77 kB / 376.4 MB, free: 4.422 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.006876, allocations: 207.1 kB / 376.6 MB, free: 4.219 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.006878, allocations: 4 kB / 376.6 MB, free: 4.215 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.006879, allocations: 4 kB / 376.6 MB, free: 4.211 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.006882, allocations: 0 / 376.6 MB, free: 4.211 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0005528/0.007435, allocations: 0.602 MB / 377.2 MB, free: 3.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.007473, allocations: 15.98 kB / 377.2 MB, free: 3.555 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.428e-05/0.007527, allocations: 48.7 kB / 377.2 MB, free: 3.508 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.007784, allocations: 282 kB / 377.5 MB, free: 3.207 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.0078, allocations: 16.88 kB / 377.5 MB, free: 3.191 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.00783, allocations: 28.36 kB / 377.6 MB, free: 3.164 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.00804, allocations: 230.3 kB / 377.8 MB, free: 2.895 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.008051, allocations: 8 kB / 377.8 MB, free: 2.887 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.008065, allocations: 15.92 kB / 377.8 MB, free: 2.871 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.008073, allocations: 8 kB / 377.8 MB, free: 2.863 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.536e-05/0.008159, allocations: 72.94 kB / 377.9 MB, free: 2.793 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009145/0.009073, allocations: 1.419 MB / 379.3 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.009249, allocations: 102.1 kB / 379.4 MB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.672e-05/0.009286, allocations: 35.42 kB / 379.4 MB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.009303, allocations: 4 kB / 379.4 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.009324, allocations: 33.39 kB / 379.5 MB, free: 1.078 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.009325, allocations: 0 / 379.5 MB, free: 1.078 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004324/0.009757, allocations: 293.8 kB / 379.8 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.009792, allocations: 93.22 kB / 379.9 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.009939, allocations: 292.1 kB / 380.1 MB, free: 352 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.00995, allocations: 25.7 kB / 380.2 MB, free: 320 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.689e-05/0.01005, allocations: 250.8 kB / 380.4 MB, free: 60 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.01007, allocations: 39.62 kB / 380.5 MB, free: 20 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/0.01013, allocations: 55.34 kB / 380.5 MB, free: 15.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.01025, allocations: 0.5039 MB / 381 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.323e-05/0.01027, allocations: 15.98 kB / 381 MB, free: 15.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.334e-05/0.01036, allocations: 162 kB / 381.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.01049, allocations: 199 kB / 381.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.01049, allocations: 8 kB / 381.4 MB, free: 14.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001563/0.01065, allocations: 173.1 kB / 381.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.01066, allocations: 8 kB / 381.6 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.01067, allocations: 4.438 kB / 381.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.01068, allocations: 8 kB / 381.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.296e-05/0.01077, allocations: 39.92 kB / 381.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.01078, allocations: 11.98 kB / 381.6 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.805e-05/0.01083, allocations: 8 kB / 381.6 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.01084, allocations: 8 kB / 381.6 MB, free: 14.68 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 (24): * Single equations (assignments): 24 * 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 8.368e-05/0.01093, allocations: 172.5 kB / 381.8 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.01095, allocations: 23.86 kB / 381.8 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.01108, allocations: 114.8 kB / 381.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.01108, allocations: 0 / 381.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.01108, allocations: 0 / 381.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.01108, allocations: 8 kB / 382 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.01136, allocations: 385.5 kB / 382.3 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.01136, allocations: 3.984 kB / 382.3 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.726e-05/0.01143, allocations: 23.98 kB / 382.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.01143, allocations: 0 / 382.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.01144, allocations: 8 kB / 382.4 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.01144, allocations: 0 / 382.4 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01144, allocations: 0 / 382.4 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.01163, allocations: 299 kB / 382.7 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.037e-05/0.01165, allocations: 23.8 kB / 382.7 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.01166, allocations: 8.062 kB / 382.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.084e-05/0.01171, allocations: 8 kB / 382.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.539e-05/0.01173, allocations: 7.984 kB / 382.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.01173, allocations: 3.984 kB / 382.7 MB, free: 13.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.983e-05/0.01181, allocations: 193.1 kB / 382.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01181, allocations: 0 / 382.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002017/0.01202, allocations: 48 kB / 382.9 MB, free: 13.3 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 (13): * Single equations (assignments): 12 * 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.024e-05/0.01211, allocations: 99.12 kB / 383 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001163/0.01222, allocations: 87.56 kB / 383.1 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01222, allocations: 3.938 kB / 383.1 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.577e-05/0.01227, allocations: 46.92 kB / 383.2 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.01256, allocations: 49.39 kB / 383.2 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008099/0.01337, allocations: 0.506 MB / 383.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.706e-05/0.01343, allocations: 96.3 kB / 383.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.982e-05/0.0135, allocations: 38.27 kB / 383.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.888e-05/0.01359, allocations: 110.2 kB / 384 MB, free: 12.2 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0136, allocations: 0 / 384 MB, free: 12.2 MB / 362.7 MB Notification: Performance of Templates: time 0.00414/0.01774, allocations: 2.227 MB / 386.2 MB, free: 10.03 MB / 362.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: 2.758187928237021]