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.0009718/0.0009718, allocations: 81.86 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.001228/0.001228, allocations: 165.8 kB / 24.82 MB, free: 8.387 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.9951/0.9951, allocations: 177.1 MB / 205.3 MB, free: 5.156 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.2467/0.2467, allocations: 29.41 MB / 291.2 MB, free: 2.422 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 4.288e-06/4.288e-06, allocations: 3.984 kB / 370.1 MB, free: 10.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.65e-05/4.079e-05, allocations: 2.312 kB / 370.1 MB, free: 10.76 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.006801/0.006841, allocations: 3.918 MB / 374 MB, free: 6.812 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.008523, allocations: 0.8491 MB / 374.9 MB, free: 5.961 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002206/0.008744, allocations: 11.88 kB / 374.9 MB, free: 5.949 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002173/0.008961, allocations: 47.5 kB / 374.9 MB, free: 5.902 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005188/0.00948, allocations: 171 kB / 375.1 MB, free: 5.734 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.009715, allocations: 91.69 kB / 375.2 MB, free: 5.645 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004737/0.01019, allocations: 410.4 kB / 375.6 MB, free: 5.242 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.01039, allocations: 62.7 kB / 375.6 MB, free: 5.188 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005329/0.01092, allocations: 279.2 kB / 375.9 MB, free: 4.914 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002811/0.0112, allocations: 139.6 kB / 376.1 MB, free: 4.777 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.746e-05/0.01125, allocations: 23.94 kB / 376.1 MB, free: 4.754 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.0114, allocations: 24 kB / 376.1 MB, free: 4.73 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.01151, allocations: 95.72 kB / 376.2 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.01162, allocations: 91.77 kB / 376.3 MB, free: 4.547 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.01195, allocations: 203.2 kB / 376.5 MB, free: 4.348 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.01196, allocations: 0 / 376.5 MB, free: 4.348 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.01196, allocations: 0 / 376.5 MB, free: 4.348 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.01196, allocations: 0 / 376.5 MB, free: 4.348 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.0008888/0.01285, allocations: 0.6059 MB / 377.1 MB, free: 3.703 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.0129, allocations: 19.97 kB / 377.1 MB, free: 3.684 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.587e-05/0.01299, allocations: 60.64 kB / 377.2 MB, free: 3.625 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.01337, allocations: 271.4 kB / 377.4 MB, free: 3.336 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.0134, allocations: 12.88 kB / 377.4 MB, free: 3.324 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.01354, allocations: 36.73 kB / 377.5 MB, free: 3.289 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.01388, allocations: 237.6 kB / 377.7 MB, free: 3.016 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.01389, allocations: 3.938 kB / 377.7 MB, free: 3.012 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.01392, allocations: 8 kB / 377.7 MB, free: 3.004 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.01393, allocations: 4 kB / 377.7 MB, free: 3 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.01408, allocations: 87.8 kB / 377.8 MB, free: 2.914 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.01555, allocations: 1.467 MB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.01581, allocations: 125.2 kB / 379.4 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.658e-05/0.01587, allocations: 47.11 kB / 379.4 MB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.01589, allocations: 7.938 kB / 379.5 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.01592, allocations: 33.39 kB / 379.5 MB, free: 1.086 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.294e-06/0.01592, allocations: 0 / 379.5 MB, free: 1.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001069/0.01699, allocations: 317.2 kB / 379.8 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.01705, allocations: 106.8 kB / 379.9 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.01728, allocations: 296.1 kB / 380.2 MB, free: 308 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.01729, allocations: 29.7 kB / 380.2 MB, free: 272 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.01743, allocations: 239.1 kB / 380.5 MB, free: 28 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.015e-05/0.01747, allocations: 47.86 kB / 380.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.375e-05/0.01753, allocations: 51.3 kB / 380.5 MB, free: 15.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.01765, allocations: 0.5079 MB / 381.1 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.941e-05/0.01768, allocations: 15.98 kB / 381.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.189e-05/0.01778, allocations: 150.3 kB / 381.2 MB, free: 15.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.01791, allocations: 203.1 kB / 381.4 MB, free: 14.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01791, allocations: 0 / 381.4 MB, free: 14.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002405/0.01815, allocations: 204.9 kB / 381.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.01817, allocations: 4 kB / 381.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.01818, allocations: 4 kB / 381.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.861e-05/0.01825, allocations: 23.67 kB / 381.6 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.01843, allocations: 63.89 kB / 381.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.01844, allocations: 7.984 kB / 381.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.37e-05/0.0185, allocations: 12.28 kB / 381.7 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.01852, allocations: 19.94 kB / 381.8 MB, free: 14.58 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 0.0001017/0.01862, allocations: 164.5 kB / 381.9 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.01866, allocations: 23.86 kB / 381.9 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/0.01883, allocations: 119.3 kB / 382.1 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.01883, allocations: 4 kB / 382.1 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.01883, allocations: 0 / 382.1 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.01884, allocations: 7.938 kB / 382.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.01903, allocations: 173.1 kB / 382.2 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01903, allocations: 0 / 382.2 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.255e-05/0.01912, allocations: 31.98 kB / 382.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.01912, allocations: 0 / 382.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.01913, allocations: 0 / 382.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.01914, allocations: 7.984 kB / 382.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.01914, allocations: 0 / 382.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.01941, allocations: 414.5 kB / 382.7 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.578e-05/0.01943, allocations: 27.78 kB / 382.7 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.01945, allocations: 0 / 382.7 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.541e-05/0.01953, allocations: 8 kB / 382.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-05/0.01955, allocations: 11.97 kB / 382.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.01956, allocations: 8.016 kB / 382.7 MB, free: 13.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.333e-05/0.01964, allocations: 193.1 kB / 382.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01964, allocations: 0 / 382.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002244/0.01987, allocations: 44 kB / 383 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: 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 8.968e-05/0.01995, allocations: 99.19 kB / 383.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001774/0.02013, allocations: 112.4 kB / 383.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.02013, allocations: 0 / 383.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.422e-05/0.02018, allocations: 55.05 kB / 383.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.02053, allocations: 48.47 kB / 383.3 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.02157, allocations: 0.5561 MB / 383.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.763e-05/0.02164, allocations: 88.31 kB / 383.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.481e-05/0.02172, allocations: 26.28 kB / 383.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.02185, allocations: 122.2 kB / 384.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.02185, allocations: 0 / 384.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of Templates: time 0.005396/0.02725, allocations: 2.46 MB / 386.5 MB, free: 9.723 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: 2.921299614943564]