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.0019/0.0019, allocations: 91.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.001981/0.001981, allocations: 161.3 kB / 24.27 MB, free: 156 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.568/1.568, allocations: 177.2 MB / 204.6 MB, free: 5.594 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.368/0.368, allocations: 29.41 MB / 290.5 MB, free: 2.445 MB / 266.7 MB " [Timeout remaining time 179] 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.202e-06/1.202e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.509e-05/2.629e-05, allocations: 5.406 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.006717/0.006743, allocations: 4.159 MB / 373 MB, free: 7.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.008542, allocations: 0.8883 MB / 373.9 MB, free: 6.246 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.008701, allocations: 15.81 kB / 373.9 MB, free: 6.23 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.008916, allocations: 51.5 kB / 374 MB, free: 6.18 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005195/0.009435, allocations: 190.8 kB / 374.2 MB, free: 5.992 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.009653, allocations: 91.73 kB / 374.3 MB, free: 5.902 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005351/0.01019, allocations: 418.3 kB / 374.7 MB, free: 5.492 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.01039, allocations: 70.72 kB / 374.8 MB, free: 5.43 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004646/0.01085, allocations: 251.2 kB / 375 MB, free: 5.184 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003576/0.01121, allocations: 163.5 kB / 375.2 MB, free: 5.023 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.141e-05/0.01126, allocations: 20 kB / 375.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.03e-05/0.01132, allocations: 23.94 kB / 375.2 MB, free: 4.98 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.01146, allocations: 91.72 kB / 375.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.01161, allocations: 95.75 kB / 375.4 MB, free: 4.797 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004437/0.01206, allocations: 287 kB / 375.7 MB, free: 4.516 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.01206, allocations: 4 kB / 375.7 MB, free: 4.512 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01206, allocations: 0 / 375.7 MB, free: 4.512 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.01207, allocations: 4 kB / 375.7 MB, free: 4.508 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.001137/0.01321, allocations: 0.6484 MB / 376.3 MB, free: 3.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.01325, allocations: 11.98 kB / 376.3 MB, free: 3.809 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003627/0.01361, allocations: 52.7 kB / 376.4 MB, free: 3.758 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005728/0.01418, allocations: 294.5 kB / 376.7 MB, free: 3.445 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.01421, allocations: 16.88 kB / 376.7 MB, free: 3.426 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/0.01426, allocations: 20.38 kB / 376.7 MB, free: 3.406 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004635/0.01472, allocations: 270.4 kB / 377 MB, free: 3.102 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.01474, allocations: 11.94 kB / 377 MB, free: 3.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.01476, allocations: 4 kB / 377 MB, free: 3.086 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.01477, allocations: 8 kB / 377 MB, free: 3.078 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002507/0.01502, allocations: 105 kB / 377.1 MB, free: 2.977 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.01686, allocations: 1.478 MB / 378.6 MB, free: 1.418 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003529/0.01721, allocations: 130.1 kB / 378.7 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.727e-05/0.0173, allocations: 43.42 kB / 378.7 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.01731, allocations: 0 / 378.7 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.01735, allocations: 41.33 kB / 378.8 MB, free: 1.164 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.01735, allocations: 0 / 378.8 MB, free: 1.164 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009234/0.01828, allocations: 416.5 kB / 379.2 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.559e-05/0.01834, allocations: 77.11 kB / 379.3 MB, free: 0.625 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003809/0.01872, allocations: 344.2 kB / 379.6 MB, free: 276 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.01875, allocations: 33.81 kB / 379.6 MB, free: 236 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/0.01897, allocations: 247.1 kB / 379.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.186e-05/0.01902, allocations: 51.58 kB / 379.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.955e-05/0.01911, allocations: 51.36 kB / 380 MB, free: 15.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003108/0.01942, allocations: 0.5196 MB / 380.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.658e-05/0.0195, allocations: 35.92 kB / 380.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.01972, allocations: 173.5 kB / 380.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/0.02004, allocations: 226.8 kB / 380.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.02004, allocations: 4 kB / 380.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003585/0.0204, allocations: 205.2 kB / 381.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.02042, allocations: 8 kB / 381.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.02043, allocations: 0 / 381.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.02045, allocations: 11.98 kB / 381.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.02064, allocations: 39.92 kB / 381.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/0.02065, allocations: 8.375 kB / 381.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.02076, allocations: 12 kB / 381.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.885e-05/0.02078, allocations: 16 kB / 381.2 MB, free: 14.48 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 0.0001756/0.02096, allocations: 180.4 kB / 381.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-05/0.02102, allocations: 31.81 kB / 381.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.02129, allocations: 119.4 kB / 381.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.02129, allocations: 0 / 381.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.0213, allocations: 7.922 kB / 381.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.02131, allocations: 4 kB / 381.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007491/0.02206, allocations: 484 kB / 382 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.02206, allocations: 4.031 kB / 382 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.02219, allocations: 27.92 kB / 382.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.02219, allocations: 0 / 382.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.02221, allocations: 8 kB / 382.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.02221, allocations: 0 / 382.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.02222, allocations: 4 kB / 382.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004285/0.02264, allocations: 330.8 kB / 382.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.723e-05/0.02271, allocations: 27.8 kB / 382.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.154e-05/0.02275, allocations: 0 / 382.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.02293, allocations: 8 kB / 382.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.02298, allocations: 19.89 kB / 382.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.02299, allocations: 3.938 kB / 382.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002257/0.02321, allocations: 225.1 kB / 382.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02321, allocations: 0 / 382.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003332/0.02355, allocations: 44 kB / 382.7 MB, free: 12.91 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 0.0001319/0.02368, allocations: 99.25 kB / 382.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002553/0.02393, allocations: 112.3 kB / 382.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.02394, allocations: 8 kB / 382.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.128e-05/0.02403, allocations: 47.61 kB / 383 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005136/0.02454, allocations: 56.06 kB / 383 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.02577, allocations: 0.5062 MB / 383.5 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.02597, allocations: 166.8 kB / 383.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.02607, allocations: 34.27 kB / 383.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.789e-05/0.02613, allocations: 24.5 kB / 383.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.02613, allocations: 0 / 383.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of Templates: time 0.006385/0.03251, allocations: 2.067 MB / 385.8 MB, free: 9.781 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: 4.738930934923701]