Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.001055/0.001055, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.00101/0.00101, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.084/1.084, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2382/0.2382, allocations: 29.42 MB / 291.2 MB, free: 2.461 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.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.456e-06/3.456e-06, allocations: 7.938 kB / 316.8 MB, free: 24 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/3.191e-05, allocations: 3.188 kB / 316.8 MB, free: 20 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.004451/0.004483, allocations: 3.771 MB / 320.6 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.006264, allocations: 0.8888 MB / 321.5 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002121/0.006476, allocations: 19.81 kB / 321.5 MB, free: 11.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.00667, allocations: 43.56 kB / 321.6 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005197/0.00719, allocations: 167 kB / 321.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.007408, allocations: 83.77 kB / 321.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004073/0.007815, allocations: 390.5 kB / 322.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.007987, allocations: 70.69 kB / 322.3 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004835/0.00847, allocations: 271.2 kB / 322.5 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.008712, allocations: 123.7 kB / 322.6 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.113e-05/0.008753, allocations: 16 kB / 322.7 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.683e-05/0.00879, allocations: 16 kB / 322.7 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.468e-05/0.008885, allocations: 83.73 kB / 322.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.463e-05/0.008979, allocations: 83.77 kB / 322.8 MB, free: 9.992 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.009281, allocations: 179.3 kB / 323 MB, free: 9.816 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.009288, allocations: 0 / 323 MB, free: 9.816 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.00929, allocations: 0 / 323 MB, free: 9.816 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.0093, allocations: 0 / 323 MB, free: 9.816 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.00067/0.009969, allocations: 464.5 kB / 323.5 MB, free: 9.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.01001, allocations: 15.98 kB / 323.5 MB, free: 9.324 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.684e-05/0.01008, allocations: 36.91 kB / 323.5 MB, free: 9.289 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/0.01043, allocations: 253.2 kB / 323.8 MB, free: 9.016 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.01045, allocations: 12.88 kB / 323.8 MB, free: 9 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/0.01049, allocations: 20.38 kB / 323.8 MB, free: 8.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.01071, allocations: 202.8 kB / 324 MB, free: 8.758 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.01072, allocations: 3.938 kB / 324 MB, free: 8.754 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.01073, allocations: 8 kB / 324 MB, free: 8.746 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.01074, allocations: 4 kB / 324 MB, free: 8.742 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.661e-05/0.01083, allocations: 67.69 kB / 324.1 MB, free: 8.676 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009116/0.01174, allocations: 0.9903 MB / 325.1 MB, free: 7.621 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.01186, allocations: 57.02 kB / 325.1 MB, free: 7.547 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.431e-05/0.01189, allocations: 25.78 kB / 325.1 MB, free: 7.516 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.01192, allocations: 11.94 kB / 325.2 MB, free: 7.504 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.01195, allocations: 30.56 kB / 325.2 MB, free: 7.465 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.01195, allocations: 0 / 325.2 MB, free: 7.465 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002432/0.01219, allocations: 93.55 kB / 325.3 MB, free: 7.367 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.01224, allocations: 81.11 kB / 325.4 MB, free: 7.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.0124, allocations: 232.9 kB / 325.6 MB, free: 7.023 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.01241, allocations: 25.7 kB / 325.6 MB, free: 6.992 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.481e-05/0.01249, allocations: 179.8 kB / 325.8 MB, free: 6.812 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.01252, allocations: 23.78 kB / 325.8 MB, free: 6.789 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/0.01258, allocations: 49.77 kB / 325.9 MB, free: 6.734 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.994e-05/0.01267, allocations: 334.8 kB / 326.2 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.035e-05/0.01269, allocations: 19.88 kB / 326.2 MB, free: 6.379 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-05/0.01275, allocations: 99 kB / 326.3 MB, free: 6.242 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.01286, allocations: 135.8 kB / 326.4 MB, free: 6.066 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.01287, allocations: 0 / 326.4 MB, free: 6.066 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000145/0.01301, allocations: 141.6 kB / 326.6 MB, free: 5.922 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.01303, allocations: 4 kB / 326.6 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.01304, allocations: 4.078 kB / 326.6 MB, free: 5.914 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.01305, allocations: 4 kB / 326.6 MB, free: 5.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.01316, allocations: 39.92 kB / 326.6 MB, free: 5.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.01317, allocations: 7.984 kB / 326.6 MB, free: 5.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.01324, allocations: 19.89 kB / 326.6 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.01325, allocations: 11.92 kB / 326.7 MB, free: 5.832 MB / 298.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 (21): * Single equations (assignments): 21 * 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 9.136e-05/0.01334, allocations: 120.6 kB / 326.8 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002255/0.01356, allocations: 20.11 kB / 326.8 MB, free: 5.684 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.01368, allocations: 71.39 kB / 326.9 MB, free: 5.605 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01368, allocations: 0 / 326.9 MB, free: 5.605 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.01368, allocations: 0 / 326.9 MB, free: 5.605 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.01368, allocations: 0 / 326.9 MB, free: 5.605 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.01382, allocations: 129.7 kB / 327 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01382, allocations: 256 / 327 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.622e-05/0.01389, allocations: 16 kB / 327 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.01389, allocations: 0 / 327 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.0139, allocations: 4 kB / 327 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.0139, allocations: 0 / 327 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01391, allocations: 7.984 kB / 327 MB, free: 5.434 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.01407, allocations: 192.1 kB / 327.2 MB, free: 5.227 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.326e-05/0.01409, allocations: 11.91 kB / 327.2 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.01411, allocations: 0 / 327.2 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.42e-05/0.01415, allocations: 8 kB / 327.2 MB, free: 5.207 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.01417, allocations: 3.984 kB / 327.2 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.01418, allocations: 4 kB / 327.2 MB, free: 5.199 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.587e-05/0.01423, allocations: 70.78 kB / 327.3 MB, free: 5.133 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01423, allocations: 0 / 327.3 MB, free: 5.133 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002004/0.01443, allocations: 47.89 kB / 327.4 MB, free: 5.086 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 7 * 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.0001107/0.01454, allocations: 76.45 kB / 327.4 MB, free: 5.004 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.01466, allocations: 72.62 kB / 327.5 MB, free: 4.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.01467, allocations: 4 kB / 327.5 MB, free: 4.926 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.914e-05/0.0147, allocations: 20.8 kB / 327.5 MB, free: 4.902 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.01499, allocations: 58.25 kB / 327.6 MB, free: 4.848 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009608/0.01595, allocations: 488.9 kB / 328.1 MB, free: 4.336 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.315e-05/0.01601, allocations: 88.3 kB / 328.1 MB, free: 4.23 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.888e-05/0.01608, allocations: 21.94 kB / 328.2 MB, free: 4.207 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.608e-05/0.01616, allocations: 87.36 kB / 328.2 MB, free: 4.121 MB / 298.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01616, allocations: 0 / 328.2 MB, free: 4.121 MB / 298.7 MB Notification: Performance of Templates: time 0.004365/0.02053, allocations: 1.932 MB / 330.2 MB, free: 2.246 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0582502726465464]