Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.001908/0.001908, allocations: 92.72 kB / 20.21 MB, free: 4.223 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.002377/0.002377, allocations: 157.7 kB / 23.52 MB, free: 0.918 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.453/1.453, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9519/0.9519, allocations: 115 MB / 375.3 MB, free: 7.562 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 480.8 MB, free: 11.96 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.61e-05/2.8e-05, allocations: 2.312 kB / 480.8 MB, free: 11.96 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005775/0.005803, allocations: 4.204 MB / 485 MB, free: 9.285 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004626/0.01043, allocations: 3.122 MB / 488.1 MB, free: 7.328 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003838/0.01081, allocations: 17.34 kB / 488.1 MB, free: 7.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.01239, allocations: 0.4979 MB / 488.6 MB, free: 7.059 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001207/0.0136, allocations: 417 kB / 489 MB, free: 6.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006767/0.01427, allocations: 251.2 kB / 489.3 MB, free: 6.695 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007577/0.01503, allocations: 0.6177 MB / 489.9 MB, free: 6.406 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005192/0.01555, allocations: 341.5 kB / 490.2 MB, free: 6.238 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007937/0.01634, allocations: 428.7 kB / 490.6 MB, free: 6.082 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005992/0.01694, allocations: 260.3 kB / 490.9 MB, free: 5.996 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.01706, allocations: 39.97 kB / 490.9 MB, free: 5.996 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000665/0.01773, allocations: 276.6 kB / 491.2 MB, free: 5.918 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.0179, allocations: 184.2 kB / 491.4 MB, free: 5.828 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000262/0.01816, allocations: 155.5 kB / 491.5 MB, free: 5.762 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.01917, allocations: 0.8141 MB / 492.3 MB, free: 5.508 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.01918, allocations: 0 / 492.3 MB, free: 5.508 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.01918, allocations: 1.219 kB / 492.3 MB, free: 5.508 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.316e-05/0.0192, allocations: 1.281 kB / 492.3 MB, free: 5.508 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001556/0.02076, allocations: 0.7106 MB / 493.1 MB, free: 5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.02079, allocations: 9.594 kB / 493.1 MB, free: 5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003214/0.02401, allocations: 0.7457 MB / 493.8 MB, free: 4.941 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007084/0.02472, allocations: 409.1 kB / 494.2 MB, free: 4.688 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.02475, allocations: 20.94 kB / 494.2 MB, free: 4.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.473e-05/0.02484, allocations: 32.91 kB / 494.3 MB, free: 4.668 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.02651, allocations: 0.841 MB / 495.1 MB, free: 4.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.381e-05/0.02653, allocations: 5.344 kB / 495.1 MB, free: 4.336 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.837e-05/0.02659, allocations: 15.88 kB / 495.1 MB, free: 4.324 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001299/0.02672, allocations: 57.09 kB / 495.2 MB, free: 4.316 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002205/0.02892, allocations: 0.8754 MB / 496.1 MB, free: 4.141 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004391/0.03332, allocations: 2.058 MB / 498.1 MB, free: 18.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.03511, allocations: 0.5123 MB / 498.6 MB, free: 18.85 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007435/0.03586, allocations: 254.1 kB / 498.9 MB, free: 18.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.03596, allocations: 14.81 kB / 498.9 MB, free: 18.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.03599, allocations: 33.42 kB / 498.9 MB, free: 18.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=16): time 2.104e-06/0.03599, allocations: 0 / 498.9 MB, free: 18.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.01422/0.05021, allocations: 3.276 MB / 0.4904 GB, free: 18.17 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.05024, allocations: 63.95 kB / 0.4905 GB, free: 18.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005058/0.05075, allocations: 364.7 kB / 0.4908 GB, free: 17.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.14e-05/0.0508, allocations: 30.86 kB / 0.4909 GB, free: 17.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.05098, allocations: 244.3 kB / 0.4911 GB, free: 17.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.365e-05/0.05107, allocations: 85.22 kB / 0.4912 GB, free: 17.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.05124, allocations: 76.52 kB / 0.4913 GB, free: 17.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002582/0.0515, allocations: 340.7 kB / 0.4916 GB, free: 17.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.05251, allocations: 393.8 kB / 0.492 GB, free: 16.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.05352, allocations: 482.6 kB / 0.4924 GB, free: 16.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001916/0.05543, allocations: 0.8112 MB / 0.4932 GB, free: 15.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.05543, allocations: 2.438 kB / 0.4932 GB, free: 15.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005949/0.06138, allocations: 1.618 MB / 0.4948 GB, free: 14.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.06141, allocations: 4.562 kB / 0.4948 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.06142, allocations: 4.688 kB / 0.4948 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00784/0.06926, allocations: 1.531 MB / 0.4963 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008871/0.07014, allocations: 131.8 kB / 0.4964 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009243/0.07939, allocations: 4.962 MB / 0.5013 GB, free: 7.484 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.08042, allocations: 123.9 kB / 0.5014 GB, free: 7.363 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.031e-05/0.0805, allocations: 15.98 kB / 0.5014 GB, free: 7.348 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001485/0.08198, allocations: 0.5544 MB / 0.5019 GB, free: 6.789 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001196/0.08318, allocations: 473.8 kB / 0.5024 GB, free: 6.289 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002278/0.08546, allocations: 0.7899 MB / 0.5032 GB, free: 5.473 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.595e-06/0.08546, allocations: 0 / 0.5032 GB, free: 5.473 MB / 426.7 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.005618/0.09108, allocations: 1.447 MB / 0.5046 GB, free: 4.012 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.09109, allocations: 6.969 kB / 0.5046 GB, free: 4.008 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.0911, allocations: 4.188 kB / 0.5046 GB, free: 4.004 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00508/0.09618, allocations: 1.008 MB / 0.5056 GB, free: 2.984 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007398/0.09692, allocations: 131.7 kB / 0.5057 GB, free: 2.855 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007631/0.1045, allocations: 4.551 MB / 0.5101 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.1056, allocations: 119.7 kB / 0.5103 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-05/0.1056, allocations: 15.98 kB / 0.5103 GB, free: 13.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002622/0.1059, allocations: 196.2 kB / 0.5105 GB, free: 13.76 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.1061, allocations: 35.81 kB / 0.5105 GB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005525/0.1116, allocations: 1.442 MB / 0.5119 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.1116, allocations: 7.938 kB / 0.5119 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1116, allocations: 0 / 0.5119 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.1116, allocations: 0 / 0.5119 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006531/0.1181, allocations: 1.949 MB / 0.5138 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.1182, allocations: 4 kB / 0.5138 GB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004435/0.1186, allocations: 75.91 kB / 0.5139 GB, free: 10.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006631/0.1252, allocations: 1.348 MB / 0.5152 GB, free: 8.832 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.03e-05/0.1253, allocations: 12 kB / 0.5152 GB, free: 8.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008278/0.1336, allocations: 4.716 MB / 0.5198 GB, free: 3.898 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.1336, allocations: 0 / 0.5198 GB, free: 3.898 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005315/0.1389, allocations: 1.437 MB / 0.5212 GB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003119/0.1392, allocations: 83.77 kB / 0.5213 GB, free: 2.348 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.1393, allocations: 15.94 kB / 0.5213 GB, free: 2.332 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007367/0.14, allocations: 87.84 kB / 0.5214 GB, free: 2.246 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/0.1402, allocations: 23.91 kB / 0.5214 GB, free: 2.223 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-05/0.1403, allocations: 19.98 kB / 0.5214 GB, free: 2.203 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005463/0.1408, allocations: 279 kB / 0.5217 GB, free: 1.934 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1408, allocations: 0 / 0.5217 GB, free: 1.934 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001152/0.1419, allocations: 219.9 kB / 0.5219 GB, free: 1.719 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002212/0.1422, allocations: 103.2 kB / 0.522 GB, free: 1.609 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005/0.1472, allocations: 1.816 MB / 0.5238 GB, free: 15.74 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.1472, allocations: 0 / 0.5238 GB, free: 15.74 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001576/0.1488, allocations: 0.6649 MB / 0.5244 GB, free: 15.05 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008718/0.1496, allocations: 126.8 kB / 0.5246 GB, free: 14.94 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002763/0.1524, allocations: 1.047 MB / 0.5256 GB, free: 13.85 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.1528, allocations: 314.2 kB / 0.5259 GB, free: 13.52 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006073/0.1534, allocations: 154.9 kB / 0.526 GB, free: 13.37 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.1536, allocations: 36.48 kB / 0.5261 GB, free: 13.33 MB / 458.7 MB Notification: Performance of SimCode: time 9.11e-07/0.1536, allocations: 0 / 0.5261 GB, free: 13.33 MB / 458.7 MB Notification: Performance of Templates: time 0.02646/0.1801, allocations: 14.36 MB / 0.5401 GB, free: 15.08 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.899817288969643]