Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007815/0.0007815, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0008271/0.0008272, allocations: 168.7 kB / 15.95 MB, free: 204 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.652/1.652, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.578/1.578, allocations: 252 MB / 0.5102 GB, free: 4.789 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.0008048/0.000805, allocations: 16 kB / 0.6243 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6278/0.6287, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005257/0.634, allocations: 3.846 MB / 0.7319 GB, free: 7.527 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004847/0.6389, allocations: 3.014 MB / 0.7348 GB, free: 4.504 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003135/0.6392, allocations: 11.94 kB / 0.7348 GB, free: 4.492 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006912/0.6399, allocations: 151.1 kB / 0.735 GB, free: 4.344 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009114/0.6408, allocations: 308.9 kB / 0.7353 GB, free: 4.043 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005259/0.6414, allocations: 182.8 kB / 0.7355 GB, free: 3.867 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007374/0.6421, allocations: 0.6541 MB / 0.7361 GB, free: 3.211 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.6433, allocations: 0.7314 MB / 0.7368 GB, free: 2.445 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002942/0.6436, allocations: 183.2 kB / 0.737 GB, free: 2.266 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003789/0.644, allocations: 243.1 kB / 0.7372 GB, free: 2.027 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.245e-05/0.6441, allocations: 20 kB / 0.7372 GB, free: 2.008 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005181/0.6446, allocations: 227.7 kB / 0.7375 GB, free: 1.785 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.6448, allocations: 135.6 kB / 0.7376 GB, free: 1.652 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.6449, allocations: 109.5 kB / 0.7377 GB, free: 1.539 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008117/0.6457, allocations: 0.6682 MB / 0.7383 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.6457, allocations: 0 / 0.7383 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.996e-06/0.6457, allocations: 0 / 0.7383 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.6457, allocations: 0 / 0.7383 GB, free: 0.8711 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001717/0.6475, allocations: 0.7245 MB / 0.7391 GB, free: 100 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/0.6475, allocations: 8.031 kB / 0.7391 GB, free: 92 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002705/0.6503, allocations: 0.6897 MB / 0.7397 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008506/0.6511, allocations: 478.6 kB / 0.7402 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.6512, allocations: 20.66 kB / 0.7402 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.772e-05/0.6512, allocations: 35.98 kB / 0.7402 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.6528, allocations: 0.7942 MB / 0.741 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.6528, allocations: 0 / 0.741 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.421e-05/0.6529, allocations: 12 kB / 0.741 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001278/0.653, allocations: 52.59 kB / 0.7411 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/0.6548, allocations: 0.8765 MB / 0.7419 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003897/0.6587, allocations: 2.866 MB / 0.7447 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.6602, allocations: 0.5176 MB / 0.7452 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006089/0.6608, allocations: 260.6 kB / 0.7455 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001196/0.6609, allocations: 93.05 kB / 0.7456 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.661, allocations: 34.56 kB / 0.7456 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.661, allocations: 0 / 0.7456 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24): time 0.0101/0.6711, allocations: 3.217 MB / 0.7488 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.862e-05/0.6712, allocations: 85.11 kB / 0.7488 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000485/0.6717, allocations: 413.6 kB / 0.7492 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.6717, allocations: 33.64 kB / 0.7493 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001744/0.6719, allocations: 239.7 kB / 0.7495 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.793e-05/0.672, allocations: 82.89 kB / 0.7496 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.672, allocations: 4 kB / 0.7496 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.6722, allocations: 350.8 kB / 0.7499 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007889/0.673, allocations: 363.7 kB / 0.7503 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008637/0.6738, allocations: 445.3 kB / 0.7507 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008647/0.6747, allocations: 386.3 kB / 0.751 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6747, allocations: 0 / 0.751 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004453/0.6792, allocations: 1.55 MB / 0.7526 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.6793, allocations: 151.8 kB / 0.7527 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.6793, allocations: 0 / 0.7527 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003482/0.6828, allocations: 0.852 MB / 0.7535 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005449/0.6834, allocations: 127.8 kB / 0.7537 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006494/0.6899, allocations: 4.664 MB / 0.7582 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007182/0.6906, allocations: 123.8 kB / 0.7583 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/0.6907, allocations: 12 kB / 0.7583 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.6907, allocations: 8.062 kB / 0.7583 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003711/0.6944, allocations: 1.246 MB / 0.7596 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.6944, allocations: 11.92 kB / 0.7596 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002231/0.6967, allocations: 0.5548 MB / 0.7601 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005408/0.6972, allocations: 147.8 kB / 0.7603 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003286/0.7005, allocations: 2.498 MB / 0.7627 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006898/0.7012, allocations: 115.9 kB / 0.7628 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.784e-05/0.7013, allocations: 16 kB / 0.7628 GB, free: 6.836 MB / 0.5762 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004771/0.7018, allocations: 316.9 kB / 0.7631 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.18e-05/0.7018, allocations: 39.48 kB / 0.7632 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004078/0.7059, allocations: 1.423 MB / 0.7646 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.706, allocations: 4 kB / 0.7646 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.706, allocations: 0 / 0.7646 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.706, allocations: 0 / 0.7646 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004862/0.7108, allocations: 2.098 MB / 0.7666 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.7109, allocations: 0 / 0.7666 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003796/0.7112, allocations: 87.83 kB / 0.7667 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003075/0.7143, allocations: 0.7897 MB / 0.7675 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/0.7144, allocations: 4 kB / 0.7675 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005729/0.7201, allocations: 4.489 MB / 0.7719 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7201, allocations: 4.062 kB / 0.7719 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004025/0.7242, allocations: 1.452 MB / 0.7733 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/0.7244, allocations: 168.7 kB / 0.7734 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.16e-05/0.7245, allocations: 11.94 kB / 0.7734 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005107/0.725, allocations: 95.84 kB / 0.7735 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.7252, allocations: 23.92 kB / 0.7736 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/0.7252, allocations: 8 kB / 0.7736 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003835/0.7256, allocations: 311.1 kB / 0.7739 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7256, allocations: 4 kB / 0.7739 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009113/0.7265, allocations: 212 kB / 0.7741 GB, free: 10.9 MB / 0.5919 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000242/0.7268, allocations: 110.7 kB / 0.7742 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00346/0.7302, allocations: 1.629 MB / 0.7758 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.7303, allocations: 0 / 0.7758 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.7314, allocations: 0.6652 MB / 0.7764 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006835/0.7321, allocations: 113.3 kB / 0.7765 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.734, allocations: 1.21 MB / 0.7777 GB, free: 7.066 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.7345, allocations: 0.9132 MB / 0.7786 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005157/0.735, allocations: 159.1 kB / 0.7787 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.7351, allocations: 39.34 kB / 0.7788 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of SimCode: time 6.61e-07/0.7351, allocations: 3.938 kB / 0.7788 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of Templates: time 0.0182/0.7533, allocations: 11.93 MB / 0.7904 GB, free: 10.07 MB / 0.6075 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1) Environment - environmentSimulation: