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.0009227/0.0009225, allocations: 92.23 kB / 15.36 MB, free: 0.7383 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.007002/0.007002, allocations: 169.8 kB / 16.26 MB, free: 6.613 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.604/1.604, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.621/1.621, allocations: 252 MB / 0.5105 GB, free: 4.715 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.0005503/0.0005507, allocations: 16 kB / 0.6249 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5132/0.5138, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003398/0.5172, allocations: 2.765 MB / 0.7314 GB, free: 8.508 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002707/0.5199, allocations: 1.934 MB / 0.7333 GB, free: 6.562 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.5201, allocations: 7.938 kB / 0.7333 GB, free: 6.555 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.5202, allocations: 31.72 kB / 0.7333 GB, free: 6.523 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004492/0.5207, allocations: 183.2 kB / 0.7335 GB, free: 6.344 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.5212, allocations: 213.9 kB / 0.7337 GB, free: 6.137 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004365/0.5216, allocations: 450.8 kB / 0.7342 GB, free: 5.695 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005889/0.5222, allocations: 331.9 kB / 0.7345 GB, free: 5.352 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.5224, allocations: 107.5 kB / 0.7346 GB, free: 5.246 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.5226, allocations: 143.5 kB / 0.7347 GB, free: 5.105 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.605e-05/0.5227, allocations: 12 kB / 0.7347 GB, free: 5.094 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006105/0.5233, allocations: 467.1 kB / 0.7352 GB, free: 4.637 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.61e-05/0.5234, allocations: 79.72 kB / 0.7352 GB, free: 4.559 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.5235, allocations: 129.1 kB / 0.7354 GB, free: 4.426 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005367/0.5241, allocations: 498.5 kB / 0.7358 GB, free: 3.938 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5241, allocations: 7.938 kB / 0.7358 GB, free: 3.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5241, allocations: 0 / 0.7358 GB, free: 3.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.5241, allocations: 0 / 0.7358 GB, free: 3.93 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.0008224/0.5249, allocations: 0.503 MB / 0.7363 GB, free: 3.375 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.525, allocations: 12.03 kB / 0.7363 GB, free: 3.363 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008334/0.5258, allocations: 116.5 kB / 0.7365 GB, free: 3.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.5261, allocations: 259.9 kB / 0.7367 GB, free: 2.957 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.5262, allocations: 12.81 kB / 0.7367 GB, free: 2.945 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/0.5262, allocations: 20.36 kB / 0.7367 GB, free: 2.926 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005482/0.5268, allocations: 349.3 kB / 0.7371 GB, free: 2.562 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.5268, allocations: 8 kB / 0.7371 GB, free: 2.555 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/0.5268, allocations: 11.98 kB / 0.7371 GB, free: 2.543 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.477e-05/0.5269, allocations: 24.42 kB / 0.7371 GB, free: 2.52 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004344/0.5273, allocations: 301.4 kB / 0.7374 GB, free: 2.223 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/0.5294, allocations: 1.737 MB / 0.7391 GB, free: 328 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004851/0.5299, allocations: 326.1 kB / 0.7394 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.53, allocations: 109.6 kB / 0.7395 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.5302, allocations: 85.11 kB / 0.7396 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.5302, allocations: 34.56 kB / 0.7396 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.5302, allocations: 0 / 0.7396 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.002426/0.5326, allocations: 0.978 MB / 0.7406 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.881e-05/0.5327, allocations: 85.05 kB / 0.7407 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.5329, allocations: 219.7 kB / 0.7409 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.533, allocations: 33.7 kB / 0.7409 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.5331, allocations: 164.2 kB / 0.7411 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.718e-05/0.5332, allocations: 78.84 kB / 0.7411 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-05/0.5332, allocations: 33.7 kB / 0.7412 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.5333, allocations: 334.8 kB / 0.7415 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.5335, allocations: 131.9 kB / 0.7416 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.5338, allocations: 213.2 kB / 0.7418 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004531/0.5342, allocations: 366.3 kB / 0.7422 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.5343, allocations: 0 / 0.7422 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008208/0.5351, allocations: 0.5089 MB / 0.7427 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.5351, allocations: 8 kB / 0.7427 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.5351, allocations: 3.984 kB / 0.7427 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004932/0.5356, allocations: 147.7 kB / 0.7428 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.5359, allocations: 59.89 kB / 0.7429 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003074/0.539, allocations: 3.969 MB / 0.7468 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.5392, allocations: 19.97 kB / 0.7468 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.5392, allocations: 16 kB / 0.7468 GB, free: 7.871 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.0001809/0.5394, allocations: 157.8 kB / 0.7469 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.782e-05/0.5395, allocations: 27.7 kB / 0.747 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008389/0.5403, allocations: 477.9 kB / 0.7474 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.5403, allocations: 4 kB / 0.7474 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.5403, allocations: 0 / 0.7474 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.5403, allocations: 8 kB / 0.7474 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.5418, allocations: 1.004 MB / 0.7484 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.5418, allocations: 4 kB / 0.7484 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.542, allocations: 31.98 kB / 0.7484 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003942/0.5424, allocations: 147.6 kB / 0.7486 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.5424, allocations: 15.88 kB / 0.7486 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002625/0.545, allocations: 3.946 MB / 0.7525 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.545, allocations: 7.969 kB / 0.7525 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008038/0.5458, allocations: 0.6316 MB / 0.7531 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.546, allocations: 124.8 kB / 0.7532 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.546, allocations: 8 kB / 0.7532 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.5462, allocations: 19.97 kB / 0.7532 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.5463, allocations: 19.92 kB / 0.7532 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.5463, allocations: 16 kB / 0.7533 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001456/0.5465, allocations: 161.5 kB / 0.7534 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5465, allocations: 0 / 0.7534 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004977/0.547, allocations: 83.94 kB / 0.7535 GB, free: 496 kB / 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.0002133/0.5472, allocations: 131.2 kB / 0.7536 GB, free: 352 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009158/0.5481, allocations: 0.5815 MB / 0.7542 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.5481, allocations: 0 / 0.7542 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004924/0.5486, allocations: 406.4 kB / 0.7546 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005411/0.5492, allocations: 43.75 kB / 0.7546 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.5503, allocations: 0.757 MB / 0.7554 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/0.5507, allocations: 0.7791 MB / 0.7561 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001726/0.5509, allocations: 62.23 kB / 0.7562 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.689e-05/0.551, allocations: 23.44 kB / 0.7562 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of SimCode: time 7.01e-07/0.551, allocations: 0 / 0.7562 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of Templates: time 0.008421/0.5594, allocations: 3.943 MB / 0.76 GB, free: 9.668 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: