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.001196/0.001196, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00177/0.002965, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001173/0.001173, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001466/0.002639, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9547/0.9547, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07536/1.03, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.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.1138/0.1138, allocations: 29.42 MB / 273.4 MB, free: 1.453 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1167/0.2305, allocations: 9.519 MB / 282.9 MB, free: 12.86 MB / 282.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.082e-06/1.082e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.446e-06/9.528e-06, allocations: 5.609 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.003576/0.003586, allocations: 4.001 MB / 288.2 MB, free: 8.758 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.004759, allocations: 0.8765 MB / 289.1 MB, free: 8.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.004888, allocations: 14.94 kB / 289.1 MB, free: 8.062 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.004993, allocations: 47.59 kB / 289.2 MB, free: 8.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002801/0.005273, allocations: 168.2 kB / 289.3 MB, free: 7.879 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.005424, allocations: 89.95 kB / 289.4 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003116/0.005735, allocations: 401.4 kB / 289.8 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.005873, allocations: 79.53 kB / 289.9 MB, free: 7.531 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003488/0.006222, allocations: 287 kB / 290.2 MB, free: 7.371 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.006398, allocations: 138.8 kB / 290.3 MB, free: 7.297 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.006427, allocations: 23.25 kB / 290.3 MB, free: 7.293 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.156e-05/0.006459, allocations: 19.25 kB / 290.3 MB, free: 7.293 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.653e-05/0.006526, allocations: 73.16 kB / 290.4 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.638e-05/0.006602, allocations: 77.81 kB / 290.5 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.006806, allocations: 194.8 kB / 290.7 MB, free: 7.152 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.156e-05/0.006818, allocations: 1.031 kB / 290.7 MB, free: 7.152 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.006818, allocations: 0 / 290.7 MB, free: 7.152 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.006829, allocations: 0 / 290.7 MB, free: 7.152 MB / 282.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.000608/0.007437, allocations: 0.5436 MB / 291.2 MB, free: 6.734 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.796e-05/0.007465, allocations: 9.344 kB / 291.2 MB, free: 6.734 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.121e-05/0.007516, allocations: 39.81 kB / 291.3 MB, free: 6.719 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.007771, allocations: 263 kB / 291.5 MB, free: 6.508 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.007785, allocations: 13.59 kB / 291.5 MB, free: 6.504 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.819e-05/0.007873, allocations: 40.28 kB / 291.6 MB, free: 6.488 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.008062, allocations: 218.8 kB / 291.8 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.008071, allocations: 0 / 291.8 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.008085, allocations: 6.906 kB / 291.8 MB, free: 6.301 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.008092, allocations: 6.094 kB / 291.8 MB, free: 6.301 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.263e-05/0.008184, allocations: 80.36 kB / 291.9 MB, free: 6.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007751/0.008959, allocations: 1.062 MB / 292.9 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.009111, allocations: 102.6 kB / 293 MB, free: 5.207 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.825e-05/0.009139, allocations: 24.83 kB / 293.1 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.009152, allocations: 2.5 kB / 293.1 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.009173, allocations: 41.03 kB / 293.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.009174, allocations: 0 / 293.1 MB, free: 5.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004264/0.0096, allocations: 286.1 kB / 293.4 MB, free: 4.914 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.009637, allocations: 104.3 kB / 293.5 MB, free: 4.789 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.01, allocations: 244.3 kB / 293.7 MB, free: 4.605 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.01002, allocations: 27.3 kB / 293.8 MB, free: 4.574 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.01008, allocations: 184.9 kB / 293.9 MB, free: 4.402 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.01011, allocations: 46.06 kB / 294 MB, free: 4.363 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.01015, allocations: 39.94 kB / 294 MB, free: 4.332 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.256e-05/0.01023, allocations: 339.7 kB / 294.3 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.11e-05/0.01025, allocations: 14.12 kB / 294.4 MB, free: 3.996 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.486e-05/0.01031, allocations: 116.1 kB / 294.5 MB, free: 3.867 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.01042, allocations: 150.3 kB / 294.6 MB, free: 3.723 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01043, allocations: 3.938 kB / 294.6 MB, free: 3.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001814/0.01061, allocations: 161.5 kB / 294.8 MB, free: 3.625 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.01062, allocations: 6.469 kB / 294.8 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.01063, allocations: 3.312 kB / 294.8 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.136e-05/0.01069, allocations: 24.78 kB / 294.8 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.01091, allocations: 75.08 kB / 294.9 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.01092, allocations: 8.344 kB / 294.9 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.451e-05/0.01098, allocations: 15.95 kB / 294.9 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.01099, allocations: 9.938 kB / 294.9 MB, free: 3.566 MB / 282.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 7.376e-05/0.01106, allocations: 142.5 kB / 295.1 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.01109, allocations: 13.98 kB / 295.1 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.01121, allocations: 96.66 kB / 295.2 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.01121, allocations: 0.6562 kB / 295.2 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.01121, allocations: 1.156 kB / 295.2 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01121, allocations: 7.438 kB / 295.2 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.01137, allocations: 131.2 kB / 295.3 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.01137, allocations: 5.172 kB / 295.3 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.941e-05/0.01147, allocations: 39.89 kB / 295.4 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.135e-05/0.01149, allocations: 20.84 kB / 295.4 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.0115, allocations: 4.375 kB / 295.4 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.0115, allocations: 0 / 295.4 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.01151, allocations: 0 / 295.4 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.01151, allocations: 4 kB / 295.4 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.01167, allocations: 287.5 kB / 295.7 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.01169, allocations: 12.02 kB / 295.7 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.751e-05/0.01176, allocations: 4 kB / 295.7 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/0.01177, allocations: 7.984 kB / 295.7 MB, free: 2.879 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.01178, allocations: 4 kB / 295.7 MB, free: 2.875 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.068e-05/0.01183, allocations: 82.75 kB / 295.8 MB, free: 2.793 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01183, allocations: 0 / 295.8 MB, free: 2.793 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001995/0.01203, allocations: 47.94 kB / 295.8 MB, free: 2.746 MB / 282.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 5.998e-05/0.01209, allocations: 80.42 kB / 295.9 MB, free: 2.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001539/0.01224, allocations: 106 kB / 296 MB, free: 2.547 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.01225, allocations: 4 kB / 296 MB, free: 2.543 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.647e-05/0.01228, allocations: 38.91 kB / 296 MB, free: 2.504 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.01256, allocations: 78.22 kB / 296.1 MB, free: 2.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00325/0.01581, allocations: 0.5571 MB / 296.7 MB, free: 1.84 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.052e-05/0.01587, allocations: 96.3 kB / 296.8 MB, free: 1.727 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.97e-05/0.01594, allocations: 30.28 kB / 296.8 MB, free: 1.695 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.01604, allocations: 91.34 kB / 296.9 MB, free: 1.605 MB / 282.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01604, allocations: 4 kB / 296.9 MB, free: 1.602 MB / 282.7 MB Notification: Performance of Templates: time 0.004093/0.02013, allocations: 2.648 MB / 299.5 MB, free: 15.03 MB / 298.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: 2.5280086742714047]