Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009876/0.0009879, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.881/1.881, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.603/1.603, allocations: 251.9 MB / 0.51 GB, free: 4.848 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005707/0.0005708, allocations: 16 kB / 0.6241 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6573/0.6578, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003773/0.6617, allocations: 2.601 MB / 0.7305 GB, free: 8.824 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002585/0.6643, allocations: 1.787 MB / 0.7323 GB, free: 7.027 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.6644, allocations: 7.938 kB / 0.7323 GB, free: 7.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.6646, allocations: 27.83 kB / 0.7323 GB, free: 6.992 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004389/0.665, allocations: 127.6 kB / 0.7324 GB, free: 6.867 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000606/0.6657, allocations: 175.5 kB / 0.7326 GB, free: 6.695 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003626/0.666, allocations: 179.6 kB / 0.7328 GB, free: 6.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008041/0.6668, allocations: 323.8 kB / 0.7331 GB, free: 6.188 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002302/0.6671, allocations: 91.67 kB / 0.7331 GB, free: 6.098 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003373/0.6674, allocations: 99.59 kB / 0.7332 GB, free: 6 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.6675, allocations: 12 kB / 0.7333 GB, free: 5.988 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005361/0.668, allocations: 239.6 kB / 0.7335 GB, free: 5.754 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.6682, allocations: 71.8 kB / 0.7335 GB, free: 5.684 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.6683, allocations: 69.58 kB / 0.7336 GB, free: 5.609 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005436/0.6688, allocations: 355.1 kB / 0.734 GB, free: 5.262 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.6688, allocations: 0 / 0.734 GB, free: 5.262 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.166e-06/0.6689, allocations: 0 / 0.734 GB, free: 5.262 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.6689, allocations: 4 kB / 0.734 GB, free: 5.258 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001137/0.67, allocations: 0.5134 MB / 0.7345 GB, free: 4.695 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.392e-05/0.6701, allocations: 8.031 kB / 0.7345 GB, free: 4.688 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009897/0.6711, allocations: 135.5 kB / 0.7346 GB, free: 4.555 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.6715, allocations: 258.6 kB / 0.7348 GB, free: 4.262 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.032e-05/0.6716, allocations: 16.44 kB / 0.7349 GB, free: 4.246 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.624e-05/0.6716, allocations: 19.98 kB / 0.7349 GB, free: 4.227 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006411/0.6723, allocations: 345.1 kB / 0.7352 GB, free: 3.867 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.855e-05/0.6723, allocations: 4 kB / 0.7352 GB, free: 3.863 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.563e-05/0.6723, allocations: 7.984 kB / 0.7352 GB, free: 3.855 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.799e-05/0.6724, allocations: 28.42 kB / 0.7352 GB, free: 3.828 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005045/0.6729, allocations: 289.5 kB / 0.7355 GB, free: 3.543 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002682/0.6756, allocations: 1.737 MB / 0.7372 GB, free: 1.641 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005275/0.6762, allocations: 324.9 kB / 0.7375 GB, free: 1.289 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001287/0.6763, allocations: 93.09 kB / 0.7376 GB, free: 1.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.6763, allocations: 34.5 kB / 0.7377 GB, free: 1.137 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 2.555e-06/0.6764, allocations: 0 / 0.7377 GB, free: 1.137 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.002631/0.679, allocations: 0.9812 MB / 0.7386 GB, free: 128 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.6791, allocations: 89.23 kB / 0.7387 GB, free: 20 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.6793, allocations: 211.6 kB / 0.7389 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.6794, allocations: 37.73 kB / 0.7389 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.6795, allocations: 164.2 kB / 0.7391 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.25e-05/0.6796, allocations: 78.89 kB / 0.7392 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.645e-05/0.6796, allocations: 8 kB / 0.7392 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.6797, allocations: 330.8 kB / 0.7395 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.6799, allocations: 131.9 kB / 0.7396 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.6802, allocations: 213.2 kB / 0.7398 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.6804, allocations: 163.9 kB / 0.74 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.6804, allocations: 96 / 0.74 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008262/0.6813, allocations: 0.5013 MB / 0.7405 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.6813, allocations: 12 kB / 0.7405 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.6813, allocations: 7.953 kB / 0.7405 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005018/0.6818, allocations: 147.3 kB / 0.7406 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.6821, allocations: 59.91 kB / 0.7407 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003051/0.6851, allocations: 3.981 MB / 0.7446 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.6854, allocations: 19.97 kB / 0.7446 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.6854, allocations: 16 kB / 0.7446 GB, free: 9.555 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001995/0.6856, allocations: 169.9 kB / 0.7448 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.426e-05/0.6857, allocations: 31.64 kB / 0.7448 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000823/0.6865, allocations: 472.2 kB / 0.7452 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.6865, allocations: 0 / 0.7452 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.6865, allocations: 4 kB / 0.7452 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.6865, allocations: 0 / 0.7452 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.688, allocations: 1.002 MB / 0.7462 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.688, allocations: 0 / 0.7462 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/0.6882, allocations: 43.92 kB / 0.7463 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004006/0.6886, allocations: 143.6 kB / 0.7464 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.6886, allocations: 11.94 kB / 0.7464 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00278/0.6914, allocations: 3.965 MB / 0.7503 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.6914, allocations: 4.031 kB / 0.7503 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008471/0.6923, allocations: 0.7373 MB / 0.751 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.6924, allocations: 132.7 kB / 0.7511 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.6925, allocations: 11.98 kB / 0.7511 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.6927, allocations: 15.98 kB / 0.7512 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.6927, allocations: 35.86 kB / 0.7512 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/0.6928, allocations: 12 kB / 0.7512 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001454/0.6929, allocations: 148.2 kB / 0.7514 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6929, allocations: 0 / 0.7514 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005137/0.6934, allocations: 91.98 kB / 0.7514 GB, free: 1.977 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002191/0.6937, allocations: 135.1 kB / 0.7516 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009649/0.6946, allocations: 0.5634 MB / 0.7521 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.6946, allocations: 0 / 0.7521 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005099/0.6952, allocations: 402.3 kB / 0.7525 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.6955, allocations: 39.7 kB / 0.7525 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.6966, allocations: 0.7196 MB / 0.7532 GB, free: 12 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.697, allocations: 0.7793 MB / 0.754 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001672/0.6971, allocations: 66.19 kB / 0.7541 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.021e-05/0.6972, allocations: 23.42 kB / 0.7541 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of SimCode: time 4.81e-07/0.6972, allocations: 0 / 0.7541 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of Templates: time 0.007721/0.7049, allocations: 3.857 MB / 0.7579 GB, free: 11.29 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) Environment - environmentSimulation: