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.01102/0.01102, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001861/0.001862, allocations: 195 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.739/1.739, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.657/1.657, allocations: 251.7 MB / 0.5094 GB, free: 3.012 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.001449/0.00145, allocations: 74.08 kB / 0.7258 GB, free: 9.012 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2317, allocations: 104.7 MB / 0.828 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005149/0.2369, allocations: 3.077 MB / 0.831 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003754/0.2407, allocations: 1.949 MB / 0.8329 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003479/0.2411, allocations: 7.938 kB / 0.8329 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.2422, allocations: 274.9 kB / 0.8332 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0006991/0.243, allocations: 195.1 kB / 0.8334 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008649/0.2439, allocations: 243.2 kB / 0.8336 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005325/0.2444, allocations: 326.7 kB / 0.8339 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004046/0.2448, allocations: 181 kB / 0.8341 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002707/0.2451, allocations: 131.5 kB / 0.8342 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004177/0.2456, allocations: 155.4 kB / 0.8344 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.43e-05/0.2456, allocations: 20 kB / 0.8344 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007203/0.2464, allocations: 395.3 kB / 0.8348 GB, free: 9.262 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.2465, allocations: 87.78 kB / 0.8349 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.2466, allocations: 123.3 kB / 0.835 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008365/0.2475, allocations: 486.4 kB / 0.8354 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2475, allocations: 0 / 0.8354 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2475, allocations: 0 / 0.8354 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.2475, allocations: 3.938 kB / 0.8354 GB, free: 8.574 MB / 0.6544 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.001073/0.2486, allocations: 0.5724 MB / 0.836 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.2487, allocations: 8.031 kB / 0.836 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009017/0.2496, allocations: 112.6 kB / 0.8361 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/0.25, allocations: 267 kB / 0.8364 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.25, allocations: 16.8 kB / 0.8364 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.957e-05/0.25, allocations: 20.38 kB / 0.8364 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005712/0.2506, allocations: 357.4 kB / 0.8367 GB, free: 7.133 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.2506, allocations: 0 / 0.8367 GB, free: 7.133 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.2507, allocations: 8 kB / 0.8368 GB, free: 7.125 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.622e-05/0.2507, allocations: 24.42 kB / 0.8368 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004686/0.2512, allocations: 293.5 kB / 0.8371 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002223/0.2534, allocations: 1.737 MB / 0.8388 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000505/0.2539, allocations: 322.1 kB / 0.8391 GB, free: 4.555 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.2541, allocations: 101.7 kB / 0.8392 GB, free: 4.449 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/0.2542, allocations: 93.02 kB / 0.8392 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.2543, allocations: 42.56 kB / 0.8393 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.2543, allocations: 0 / 0.8393 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.002568/0.2569, allocations: 0.9681 MB / 0.8402 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.2569, allocations: 81.05 kB / 0.8403 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.2572, allocations: 211.8 kB / 0.8405 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.2572, allocations: 25.7 kB / 0.8405 GB, free: 2.938 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.2574, allocations: 180.4 kB / 0.8407 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.181e-05/0.2574, allocations: 83.27 kB / 0.8408 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.2575, allocations: 65.62 kB / 0.8408 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.2577, allocations: 330.8 kB / 0.8412 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.2579, allocations: 135.9 kB / 0.8413 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.2581, allocations: 205.3 kB / 0.8415 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004666/0.2586, allocations: 372.4 kB / 0.8418 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2586, allocations: 0 / 0.8418 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008541/0.2595, allocations: 0.5084 MB / 0.8423 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.2595, allocations: 12.06 kB / 0.8424 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.2595, allocations: 3.984 kB / 0.8424 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005432/0.2601, allocations: 147.3 kB / 0.8425 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.2603, allocations: 55.91 kB / 0.8426 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00391/0.2643, allocations: 4.198 MB / 0.8467 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.2645, allocations: 15.98 kB / 0.8467 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.13e-05/0.2646, allocations: 16.16 kB / 0.8467 GB, free: 12.2 MB / 0.67 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002445/0.2648, allocations: 165.7 kB / 0.8468 GB, free: 12.03 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.586e-05/0.2649, allocations: 23.95 kB / 0.8469 GB, free: 12 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.266, allocations: 485 kB / 0.8473 GB, free: 11.51 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.266, allocations: 4 kB / 0.8473 GB, free: 11.51 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.266, allocations: 0 / 0.8473 GB, free: 11.51 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.2661, allocations: 3.984 kB / 0.8473 GB, free: 11.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/0.2678, allocations: 1.008 MB / 0.8483 GB, free: 10.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.2678, allocations: 4 kB / 0.8483 GB, free: 10.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.2679, allocations: 36.22 kB / 0.8484 GB, free: 10.36 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000414/0.2684, allocations: 139.3 kB / 0.8485 GB, free: 10.21 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.2684, allocations: 8 kB / 0.8485 GB, free: 10.21 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003027/0.2714, allocations: 4.151 MB / 0.8525 GB, free: 5.727 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.944e-06/0.2715, allocations: 7.969 kB / 0.8526 GB, free: 5.719 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008325/0.2723, allocations: 0.6257 MB / 0.8532 GB, free: 5.039 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.2724, allocations: 117 kB / 0.8533 GB, free: 4.906 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.2725, allocations: 15.92 kB / 0.8533 GB, free: 4.891 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.2727, allocations: 19.98 kB / 0.8533 GB, free: 4.871 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/0.2728, allocations: 27.81 kB / 0.8533 GB, free: 4.844 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.2728, allocations: 8 kB / 0.8533 GB, free: 4.836 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001557/0.273, allocations: 157.5 kB / 0.8535 GB, free: 4.684 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.273, allocations: 0 / 0.8535 GB, free: 4.684 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0005581/0.2735, allocations: 95.92 kB / 0.8536 GB, free: 4.59 MB / 0.67 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002353/0.2738, allocations: 127.1 kB / 0.8537 GB, free: 4.453 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001011/0.2748, allocations: 0.5928 MB / 0.8543 GB, free: 3.836 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.2748, allocations: 0 / 0.8543 GB, free: 3.836 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005094/0.2753, allocations: 394.1 kB / 0.8547 GB, free: 3.426 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005123/0.2759, allocations: 50.67 kB / 0.8547 GB, free: 3.379 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.2771, allocations: 0.6312 MB / 0.8553 GB, free: 2.695 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004609/0.2775, allocations: 0.7792 MB / 0.8561 GB, free: 1.891 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001948/0.2777, allocations: 62.23 kB / 0.8562 GB, free: 1.832 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.039e-05/0.2778, allocations: 19.44 kB / 0.8562 GB, free: 1.812 MB / 0.67 GB Notification: Performance of SimCode: time 6.51e-07/0.2778, allocations: 4 kB / 0.8562 GB, free: 1.809 MB / 0.67 GB Notification: Performance of Templates: time 0.009086/0.2869, allocations: 4.211 MB / 0.8603 GB, free: 13.62 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (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)