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.ACLine_R.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.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001126, allocations: 91.77 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.01152/0.01152, allocations: 171.2 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.718/1.718, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.507/1.507, allocations: 252 MB / 0.5105 GB, free: 4.707 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.0005636/0.0005637, allocations: 19.98 kB / 0.6249 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5735/0.5741, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007405/0.5816, allocations: 6.274 MB / 0.7349 GB, free: 4.988 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005365/0.587, allocations: 3.037 MB / 0.7378 GB, free: 1.938 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006001/0.5876, allocations: 23.81 kB / 0.7378 GB, free: 1.914 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004588/0.5881, allocations: 138.8 kB / 0.738 GB, free: 1.777 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.5893, allocations: 481.7 kB / 0.7384 GB, free: 1.305 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.5904, allocations: 385.8 kB / 0.7388 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001559/0.592, allocations: 1.583 MB / 0.7404 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001951/0.5939, allocations: 1.008 MB / 0.7413 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006668/0.5946, allocations: 398.3 kB / 0.7417 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006181/0.5953, allocations: 0.4902 MB / 0.7422 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.273e-05/0.5953, allocations: 36 kB / 0.7422 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008167/0.5962, allocations: 443.1 kB / 0.7426 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002743/0.5965, allocations: 275.1 kB / 0.7429 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003903/0.5969, allocations: 427.5 kB / 0.7433 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.598, allocations: 1.181 MB / 0.7445 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5981, allocations: 0 / 0.7445 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5981, allocations: 0 / 0.7445 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.5981, allocations: 0 / 0.7445 GB, free: 11.09 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.0017/0.5998, allocations: 1.009 MB / 0.7455 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.5998, allocations: 12.02 kB / 0.7455 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/0.6014, allocations: 239.6 kB / 0.7457 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008257/0.6022, allocations: 0.5414 MB / 0.7462 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.966e-05/0.6023, allocations: 45.69 kB / 0.7463 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.6024, allocations: 68.27 kB / 0.7463 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.604, allocations: 1.089 MB / 0.7474 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/0.604, allocations: 11.94 kB / 0.7474 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.011e-05/0.6041, allocations: 32 kB / 0.7474 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001528/0.6043, allocations: 85.25 kB / 0.7475 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.6055, allocations: 0.7465 MB / 0.7483 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005696/0.6112, allocations: 5.901 MB / 0.754 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.6122, allocations: 0.5568 MB / 0.7546 GB, free: 120 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004488/0.6127, allocations: 330 kB / 0.7549 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.875e-05/0.6127, allocations: 8.438 kB / 0.7549 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.6127, allocations: 39 kB / 0.7549 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=47): time 3.437e-06/0.6128, allocations: 0 / 0.7549 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004108/0.6169, allocations: 1.994 MB / 0.7569 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.617, allocations: 55.84 kB / 0.7569 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008953/0.6179, allocations: 0.5509 MB / 0.7575 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.157e-05/0.6179, allocations: 37.7 kB / 0.7575 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003887/0.6183, allocations: 414.8 kB / 0.7579 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/0.6185, allocations: 177.5 kB / 0.7581 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.6187, allocations: 57.69 kB / 0.7581 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002369/0.6189, allocations: 378.7 kB / 0.7585 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004382/0.6193, allocations: 281.8 kB / 0.7587 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005956/0.6199, allocations: 489 kB / 0.7592 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.6211, allocations: 0.8132 MB / 0.76 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.6211, allocations: 4 kB / 0.76 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00196/0.6231, allocations: 1.09 MB / 0.7611 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.6231, allocations: 8 kB / 0.7611 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.6232, allocations: 4 kB / 0.7611 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008836/0.624, allocations: 279.9 kB / 0.7613 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004728/0.6245, allocations: 123.8 kB / 0.7615 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006664/0.6312, allocations: 6.602 MB / 0.7679 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007012/0.632, allocations: 35.97 kB / 0.7679 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.796e-05/0.632, allocations: 31.98 kB / 0.768 GB, free: 1.453 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004326/0.6325, allocations: 257.5 kB / 0.7682 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.6326, allocations: 71.16 kB / 0.7683 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001668/0.6342, allocations: 0.8963 MB / 0.7692 GB, free: 212 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.6343, allocations: 4 kB / 0.7692 GB, free: 208 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.6343, allocations: 4 kB / 0.7692 GB, free: 204 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.6343, allocations: 3.984 kB / 0.7692 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002758/0.6371, allocations: 1.724 MB / 0.7709 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.106e-06/0.6371, allocations: 8.125 kB / 0.7709 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/0.6374, allocations: 63.89 kB / 0.7709 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007785/0.6381, allocations: 267.3 kB / 0.7712 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.248e-05/0.6382, allocations: 8 kB / 0.7712 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006331/0.6445, allocations: 6.595 MB / 0.7776 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.6446, allocations: 0 / 0.7776 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.6462, allocations: 0.9873 MB / 0.7786 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002873/0.6465, allocations: 196.3 kB / 0.7788 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.437e-05/0.6466, allocations: 11.94 kB / 0.7788 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003625/0.6469, allocations: 27.97 kB / 0.7788 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.647, allocations: 43.94 kB / 0.7789 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.6471, allocations: 16 kB / 0.7789 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004874/0.6476, allocations: 383.1 kB / 0.7792 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.874e-06/0.6476, allocations: 0 / 0.7792 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008551/0.6484, allocations: 227.9 kB / 0.7795 GB, free: 4.965 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001966/0.6487, allocations: 118 kB / 0.7796 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002026/0.6507, allocations: 1.271 MB / 0.7808 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.6507, allocations: 0 / 0.7808 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001236/0.6519, allocations: 0.9013 MB / 0.7817 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.6531, allocations: 198.7 kB / 0.7819 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002526/0.6556, allocations: 1.66 MB / 0.7835 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007238/0.6564, allocations: 1.005 MB / 0.7845 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004083/0.6568, allocations: 122 kB / 0.7846 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.6569, allocations: 47.44 kB / 0.7847 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of SimCode: time 8.32e-07/0.6569, allocations: 0 / 0.7847 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of Templates: time 0.01899/0.6759, allocations: 10.61 MB / 0.795 GB, free: 4.973 MB / 0.6075 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) Environment - environmentSimulation: