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.001464/0.001464, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002191/0.002191, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.764/1.764, allocations: 205.1 MB / 222 MB, free: 4.996 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.64/1.64, allocations: 251.6 MB / 0.5088 GB, free: 3.328 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.001462/0.001462, allocations: 63.91 kB / 0.6216 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6751/0.6765, allocations: 104.7 MB / 0.7238 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005094/0.6817, allocations: 3.115 MB / 0.7269 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003135/0.6849, allocations: 1.972 MB / 0.7288 GB, free: 8.051 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.685, allocations: 7.938 kB / 0.7288 GB, free: 8.043 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008686/0.686, allocations: 259.1 kB / 0.729 GB, free: 7.789 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000477/0.6864, allocations: 187.3 kB / 0.7292 GB, free: 7.605 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006629/0.6871, allocations: 203.5 kB / 0.7294 GB, free: 7.406 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004426/0.6876, allocations: 446.7 kB / 0.7298 GB, free: 6.969 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003933/0.688, allocations: 182.9 kB / 0.73 GB, free: 6.789 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.6881, allocations: 111.5 kB / 0.7301 GB, free: 6.68 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002979/0.6885, allocations: 151.5 kB / 0.7303 GB, free: 6.531 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.6885, allocations: 12 kB / 0.7303 GB, free: 6.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007132/0.6892, allocations: 471.1 kB / 0.7307 GB, free: 6.059 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.348e-05/0.6893, allocations: 75.8 kB / 0.7308 GB, free: 5.984 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.6895, allocations: 115.4 kB / 0.7309 GB, free: 5.871 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000616/0.6901, allocations: 0.4907 MB / 0.7314 GB, free: 5.379 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.6901, allocations: 0 / 0.7314 GB, free: 5.379 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.012e-06/0.6901, allocations: 4 kB / 0.7314 GB, free: 5.375 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.8e-06/0.6901, allocations: 0 / 0.7314 GB, free: 5.375 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.0009857/0.6911, allocations: 0.5536 MB / 0.7319 GB, free: 4.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.6912, allocations: 8.031 kB / 0.7319 GB, free: 4.762 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007792/0.692, allocations: 108.5 kB / 0.732 GB, free: 4.656 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.6923, allocations: 269.6 kB / 0.7323 GB, free: 4.355 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.6923, allocations: 12.81 kB / 0.7323 GB, free: 4.344 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.6924, allocations: 20.38 kB / 0.7323 GB, free: 4.324 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005275/0.6929, allocations: 353.2 kB / 0.7327 GB, free: 3.957 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.6929, allocations: 0 / 0.7327 GB, free: 3.957 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/0.693, allocations: 11.98 kB / 0.7327 GB, free: 3.945 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-05/0.693, allocations: 24.42 kB / 0.7327 GB, free: 3.922 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004307/0.6935, allocations: 297.5 kB / 0.733 GB, free: 3.629 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/0.6956, allocations: 1.745 MB / 0.7347 GB, free: 1.719 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004638/0.6961, allocations: 320.9 kB / 0.735 GB, free: 1.371 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.6962, allocations: 113.5 kB / 0.7351 GB, free: 1.254 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.6964, allocations: 85.11 kB / 0.7352 GB, free: 1.152 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.6964, allocations: 42.55 kB / 0.7352 GB, free: 1.102 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.6964, allocations: 0 / 0.7352 GB, free: 1.102 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.002469/0.6989, allocations: 0.9565 MB / 0.7362 GB, free: 112 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.699, allocations: 85.05 kB / 0.7362 GB, free: 8 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.6992, allocations: 219.6 kB / 0.7364 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.6992, allocations: 25.7 kB / 0.7365 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.6994, allocations: 168.2 kB / 0.7366 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.045e-05/0.6994, allocations: 78.86 kB / 0.7367 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.6995, allocations: 65.59 kB / 0.7368 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.6996, allocations: 334.8 kB / 0.7371 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.6999, allocations: 131.9 kB / 0.7372 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.7001, allocations: 209.2 kB / 0.7374 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004574/0.7006, allocations: 374 kB / 0.7378 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.7006, allocations: 96 / 0.7378 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000852/0.7014, allocations: 0.5062 MB / 0.7383 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.7015, allocations: 8 kB / 0.7383 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.7015, allocations: 4 kB / 0.7383 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005247/0.702, allocations: 155.3 kB / 0.7384 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.7023, allocations: 55.91 kB / 0.7385 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003122/0.7054, allocations: 3.969 MB / 0.7424 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.7056, allocations: 15.98 kB / 0.7424 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.7057, allocations: 15.98 kB / 0.7424 GB, free: 9.262 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 (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.0002063/0.7059, allocations: 161.9 kB / 0.7425 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.219e-05/0.706, allocations: 19.81 kB / 0.7426 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008222/0.7068, allocations: 493.4 kB / 0.743 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.7068, allocations: 0 / 0.743 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.7068, allocations: 4 kB / 0.743 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.7068, allocations: 0 / 0.743 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.7083, allocations: 1.005 MB / 0.744 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.7083, allocations: 4 kB / 0.744 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.7084, allocations: 31.92 kB / 0.744 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003941/0.7088, allocations: 143.6 kB / 0.7442 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.7088, allocations: 11.94 kB / 0.7442 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002761/0.7116, allocations: 3.942 MB / 0.748 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.7116, allocations: 4 kB / 0.748 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008169/0.7125, allocations: 0.6333 MB / 0.7487 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.7126, allocations: 132.7 kB / 0.7488 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.7126, allocations: 8 kB / 0.7488 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.7129, allocations: 15.98 kB / 0.7488 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.959e-05/0.7129, allocations: 27.91 kB / 0.7488 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.7129, allocations: 12 kB / 0.7489 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001493/0.7131, allocations: 153.5 kB / 0.749 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7131, allocations: 0 / 0.749 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005488/0.7137, allocations: 95.92 kB / 0.7491 GB, free: 1.871 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 (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.0002564/0.7139, allocations: 131.2 kB / 0.7492 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009703/0.7149, allocations: 0.5736 MB / 0.7498 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.7149, allocations: 0.625 kB / 0.7498 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004989/0.7154, allocations: 405.1 kB / 0.7502 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/0.716, allocations: 43.7 kB / 0.7502 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.7171, allocations: 0.7264 MB / 0.7509 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.7174, allocations: 0.7831 MB / 0.7517 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000175/0.7176, allocations: 62.23 kB / 0.7517 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/0.7177, allocations: 27.36 kB / 0.7518 GB, free: 15 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.7177, allocations: 0 / 0.7518 GB, free: 15 MB / 0.5762 GB Notification: Performance of Templates: time 0.007757/0.7255, allocations: 4.02 MB / 0.7557 GB, free: 11.01 MB / 0.5762 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)