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.001369/0.001369, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001059/0.001059, allocations: 161 kB / 24.56 MB, free: 16 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.05/1.05, allocations: 177.1 MB / 205 MB, free: 5.59 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.2381/0.2381, allocations: 29.43 MB / 290.9 MB, free: 2.508 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.522e-06/1.522e-06, allocations: 3.938 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.89e-05/3.042e-05, allocations: 2.312 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.004175/0.004205, allocations: 3.947 MB / 373.6 MB, free: 7.016 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.005343, allocations: 0.8491 MB / 374.4 MB, free: 6.164 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.005499, allocations: 15.88 kB / 374.5 MB, free: 6.148 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.005673, allocations: 43.58 kB / 374.5 MB, free: 6.105 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003906/0.006063, allocations: 163 kB / 374.7 MB, free: 5.945 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.006227, allocations: 91.73 kB / 374.7 MB, free: 5.855 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003841/0.006611, allocations: 406.5 kB / 375.1 MB, free: 5.457 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.006779, allocations: 66.66 kB / 375.2 MB, free: 5.398 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003155/0.007094, allocations: 255.1 kB / 375.5 MB, free: 5.148 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.007319, allocations: 159.5 kB / 375.6 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.007354, allocations: 24 kB / 375.6 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.257e-05/0.007387, allocations: 20 kB / 375.7 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.477e-05/0.007472, allocations: 95.7 kB / 375.7 MB, free: 4.855 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.247e-05/0.007564, allocations: 99.75 kB / 375.8 MB, free: 4.758 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.007817, allocations: 203.2 kB / 376 MB, free: 4.559 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.00782, allocations: 4 kB / 376 MB, free: 4.555 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.007822, allocations: 4 kB / 376 MB, free: 4.551 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.007828, allocations: 0 / 376 MB, free: 4.551 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.0008153/0.008643, allocations: 0.6176 MB / 376.7 MB, free: 3.895 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.008682, allocations: 15.98 kB / 376.7 MB, free: 3.879 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.721e-05/0.008759, allocations: 56.69 kB / 376.7 MB, free: 3.824 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.009111, allocations: 291.9 kB / 377 MB, free: 3.516 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.009128, allocations: 16.88 kB / 377 MB, free: 3.496 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.954e-05/0.009227, allocations: 36.69 kB / 377.1 MB, free: 3.461 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.009486, allocations: 257.6 kB / 377.3 MB, free: 3.172 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.009496, allocations: 3.984 kB / 377.3 MB, free: 3.168 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.009514, allocations: 8 kB / 377.3 MB, free: 3.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.009524, allocations: 4 kB / 377.3 MB, free: 3.156 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.009668, allocations: 99.8 kB / 377.4 MB, free: 3.059 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.01075, allocations: 1.464 MB / 378.9 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.01099, allocations: 129.2 kB / 379 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.168e-05/0.01104, allocations: 43.11 kB / 379.1 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.01106, allocations: 4 kB / 379.1 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.01108, allocations: 37.39 kB / 379.1 MB, free: 1.23 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.595e-06/0.01109, allocations: 4 kB / 379.1 MB, free: 1.227 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007141/0.0118, allocations: 436.2 kB / 379.5 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.01185, allocations: 106.8 kB / 379.6 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.01204, allocations: 296.2 kB / 379.9 MB, free: 336 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.01206, allocations: 25.7 kB / 380 MB, free: 304 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005238/0.01258, allocations: 238.9 kB / 380.2 MB, free: 60 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.01261, allocations: 51.62 kB / 380.2 MB, free: 8 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.56e-05/0.01267, allocations: 43.36 kB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.0128, allocations: 0.5081 MB / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.324e-05/0.01284, allocations: 23.98 kB / 380.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.813e-05/0.01294, allocations: 159.4 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.01309, allocations: 206.8 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.01309, allocations: 4 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002714/0.01337, allocations: 209.2 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.01338, allocations: 8.062 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.01339, allocations: 4 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.998e-05/0.01349, allocations: 23.67 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.01367, allocations: 63.89 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.01368, allocations: 7.984 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.417e-05/0.01374, allocations: 7.938 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.01375, allocations: 12 kB / 381.5 MB, free: 14.59 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.346e-05/0.01385, allocations: 168.5 kB / 381.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.01389, allocations: 39.81 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001827/0.01407, allocations: 127.3 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.01408, allocations: 0 / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.01408, allocations: 4 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.01408, allocations: 4 kB / 381.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.0143, allocations: 208.5 kB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.0143, allocations: 3.984 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.235e-05/0.01439, allocations: 27.98 kB / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01439, allocations: 0 / 382.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.01441, allocations: 8 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01441, allocations: 4 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01441, allocations: 3.938 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.01469, allocations: 422.6 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.01471, allocations: 23.75 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.01473, allocations: 11.98 kB / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.01481, allocations: 0 / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.01483, allocations: 11.98 kB / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.01484, allocations: 7.938 kB / 382.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.715e-05/0.01493, allocations: 201.1 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01493, allocations: 0 / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002216/0.01516, allocations: 51.97 kB / 382.8 MB, free: 13.22 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.745e-05/0.01525, allocations: 103.2 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002393/0.01549, allocations: 122.5 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01549, allocations: 0 / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.416e-05/0.01555, allocations: 48.48 kB / 383.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.01592, allocations: 58.83 kB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.01697, allocations: 0.5483 MB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.578e-05/0.01704, allocations: 100.3 kB / 383.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.91e-05/0.01711, allocations: 26.28 kB / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.807e-05/0.01715, allocations: 20.5 kB / 383.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01715, allocations: 0 / 383.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of Templates: time 0.004713/0.02187, allocations: 2.287 MB / 386.1 MB, free: 9.887 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.157263406086713]