Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.001019/0.001019, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001152/0.001152, allocations: 164.5 kB / 24.99 MB, free: 8.793 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.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.2576/0.2576, allocations: 29.42 MB / 291.2 MB, free: 2.496 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.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3704,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3704,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.695e-05, allocations: 2.312 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.004285/0.004312, allocations: 4.213 MB / 373.8 MB, free: 7.078 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.005605, allocations: 0.8492 MB / 374.7 MB, free: 6.227 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.005801, allocations: 19.81 kB / 374.7 MB, free: 6.207 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004585/0.00626, allocations: 47.5 kB / 374.7 MB, free: 6.16 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004599/0.00672, allocations: 167 kB / 374.9 MB, free: 5.996 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.006914, allocations: 95.8 kB / 375 MB, free: 5.902 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004056/0.00732, allocations: 406.3 kB / 375.4 MB, free: 5.504 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.007497, allocations: 74.62 kB / 375.5 MB, free: 5.438 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003935/0.007891, allocations: 247.2 kB / 375.7 MB, free: 5.195 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002493/0.00814, allocations: 159.5 kB / 375.9 MB, free: 5.039 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/0.008173, allocations: 20 kB / 375.9 MB, free: 5.02 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.267e-05/0.008206, allocations: 24 kB / 375.9 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.579e-05/0.008292, allocations: 95.72 kB / 376 MB, free: 4.902 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.652e-05/0.008388, allocations: 95.77 kB / 376.1 MB, free: 4.809 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.008665, allocations: 207.2 kB / 376.3 MB, free: 4.605 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.00867, allocations: 4 kB / 376.3 MB, free: 4.602 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.008671, allocations: 0 / 376.3 MB, free: 4.602 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.008678, allocations: 0 / 376.3 MB, free: 4.602 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.0007612/0.009439, allocations: 0.6254 MB / 376.9 MB, free: 3.938 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.009479, allocations: 19.98 kB / 377 MB, free: 3.918 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.523e-05/0.009564, allocations: 52.7 kB / 377 MB, free: 3.867 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004054/0.00997, allocations: 287.9 kB / 377.3 MB, free: 3.562 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.009989, allocations: 20.81 kB / 377.3 MB, free: 3.539 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.984e-05/0.01009, allocations: 36.73 kB / 377.3 MB, free: 3.504 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002792/0.01037, allocations: 249.6 kB / 377.6 MB, free: 3.223 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.01038, allocations: 0 / 377.6 MB, free: 3.223 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.0104, allocations: 12 kB / 377.6 MB, free: 3.211 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.01042, allocations: 4 kB / 377.6 MB, free: 3.207 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.01057, allocations: 103.8 kB / 377.7 MB, free: 3.105 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.01168, allocations: 1.46 MB / 379.2 MB, free: 1.551 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.01191, allocations: 133.2 kB / 379.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.996e-05/0.01196, allocations: 47.11 kB / 379.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.01198, allocations: 4 kB / 379.3 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.01201, allocations: 37.39 kB / 379.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.164e-06/0.01201, allocations: 0 / 379.4 MB, free: 1.273 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006846/0.01269, allocations: 440.2 kB / 379.8 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.01274, allocations: 102.8 kB / 379.9 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.01292, allocations: 296.2 kB / 380.2 MB, free: 384 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.01293, allocations: 25.7 kB / 380.2 MB, free: 352 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.01304, allocations: 243.1 kB / 380.5 MB, free: 104 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.01307, allocations: 55.52 kB / 380.5 MB, free: 48 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/0.01312, allocations: 43.36 kB / 380.6 MB, free: 16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.01325, allocations: 0.5079 MB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.646e-05/0.01329, allocations: 23.98 kB / 381.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.0134, allocations: 162.2 kB / 381.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.01356, allocations: 202.4 kB / 381.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01356, allocations: 4 kB / 381.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005477/0.01411, allocations: 204.9 kB / 381.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.01413, allocations: 7.984 kB / 381.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.01414, allocations: 4 kB / 381.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001102/0.01425, allocations: 27.67 kB / 381.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.01443, allocations: 63.83 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.01444, allocations: 4 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.976e-05/0.01451, allocations: 8.375 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.01452, allocations: 19.94 kB / 381.8 MB, free: 14.63 MB / 362.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): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.96e-05/0.01462, allocations: 172.5 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.01467, allocations: 35.75 kB / 382 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001893/0.01486, allocations: 115.4 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.01486, allocations: 0 / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.01486, allocations: 0 / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.01487, allocations: 4 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.01509, allocations: 216.4 kB / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.01509, allocations: 0 / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.66e-05/0.01519, allocations: 35.98 kB / 382.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.01519, allocations: 0 / 382.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.0152, allocations: 4 kB / 382.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.0152, allocations: 3.938 kB / 382.4 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.0152, allocations: 3.938 kB / 382.4 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.0155, allocations: 426.6 kB / 382.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.593e-05/0.01552, allocations: 23.81 kB / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.01555, allocations: 4 kB / 382.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.426e-05/0.01562, allocations: 4 kB / 382.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.259e-05/0.01564, allocations: 7.984 kB / 382.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.01565, allocations: 11.97 kB / 382.8 MB, free: 13.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001042/0.01576, allocations: 205.1 kB / 383 MB, free: 13.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01576, allocations: 0 / 383 MB, free: 13.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002372/0.01599, allocations: 44 kB / 383.1 MB, free: 13.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * 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.208e-05/0.01609, allocations: 103.2 kB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.01633, allocations: 116.3 kB / 383.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.01633, allocations: 192 / 383.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.483e-05/0.01639, allocations: 51.61 kB / 383.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.01675, allocations: 66.95 kB / 383.4 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.01782, allocations: 0.5483 MB / 383.9 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.712e-05/0.01788, allocations: 96.3 kB / 384 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.01799, allocations: 30.22 kB / 384.1 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.01804, allocations: 20.5 kB / 384.1 MB, free: 12.17 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01804, allocations: 0 / 384.1 MB, free: 12.17 MB / 362.7 MB Notification: Performance of Templates: time 0.005134/0.02318, allocations: 2.292 MB / 386.4 MB, free: 9.926 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.067455988842994]