Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 97.2 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 174.1 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6415/0.6415, allocations: 113.8 MB / 405.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003646, allocations: 8 kB / 493.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1721, allocations: 77.14 MB / 0.5568 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01102/0.1832, allocations: 9.235 MB / 0.5659 GB, free: 2.359 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01221/0.1955, allocations: 8.035 MB / 0.5737 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001949/0.1975, allocations: 51.62 kB / 0.5738 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.1985, allocations: 254.3 kB / 0.574 GB, free: 10 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00648/0.205, allocations: 1.262 MB / 0.5752 GB, free: 8.746 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002066/0.2071, allocations: 474.7 kB / 0.5757 GB, free: 8.285 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003707/0.2108, allocations: 1.382 MB / 0.577 GB, free: 6.902 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003821/0.2147, allocations: 1.773 MB / 0.5788 GB, free: 5.082 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001755/0.2165, allocations: 0.72 MB / 0.5795 GB, free: 4.359 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/0.2178, allocations: 0.7432 MB / 0.5802 GB, free: 3.613 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.218, allocations: 60 kB / 0.5803 GB, free: 3.555 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.2192, allocations: 403.3 kB / 0.5806 GB, free: 3.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004181/0.2196, allocations: 438.7 kB / 0.5811 GB, free: 2.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000379/0.22, allocations: 344.8 kB / 0.5814 GB, free: 2.387 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00191/0.2219, allocations: 1.913 MB / 0.5833 GB, free: 480 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.2219, allocations: 4 kB / 0.5833 GB, free: 476 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.222, allocations: 0 / 0.5833 GB, free: 476 kB / 446.1 MB Notification: Performance of Transformations before backend: time 2.683e-05/0.222, allocations: 0 / 0.5833 GB, free: 476 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.3678/0.5898, allocations: 1.71 MB / 0.5849 GB, free: 32.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.5898, allocations: 12.95 kB / 0.5849 GB, free: 32.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01245/0.6023, allocations: 2.123 MB / 0.587 GB, free: 32.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003083/0.6054, allocations: 1.084 MB / 0.5881 GB, free: 31.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.6055, allocations: 82.55 kB / 0.5881 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002876/0.6058, allocations: 119.4 kB / 0.5883 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006551/0.6124, allocations: 2.481 MB / 0.5907 GB, free: 31.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.027e-05/0.6125, allocations: 16.58 kB / 0.5907 GB, free: 31.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.6126, allocations: 50.19 kB / 0.5907 GB, free: 31.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003998/0.613, allocations: 128.4 kB / 0.5909 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008392/0.6214, allocations: 2.583 MB / 0.5934 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01614/0.6376, allocations: 10.11 MB / 0.6033 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0063/0.644, allocations: 2 MB / 0.6052 GB, free: 21.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.284e-05/0.6441, allocations: 15.27 kB / 0.6052 GB, free: 21.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/0.6442, allocations: 38.72 kB / 0.6053 GB, free: 21.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=53): time 2.965e-06/0.6442, allocations: 0 / 0.6053 GB, free: 21.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=81): time 0.0316/0.6758, allocations: 8.767 MB / 0.6138 GB, free: 17.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.6758, allocations: 60.03 kB / 0.6139 GB, free: 17.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/0.6775, allocations: 1.084 MB / 0.6149 GB, free: 16.85 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002272/0.6778, allocations: 44.48 kB / 0.615 GB, free: 16.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004327/0.6782, allocations: 0.7368 MB / 0.6157 GB, free: 16.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002493/0.6785, allocations: 277.6 kB / 0.616 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.878e-05/0.6785, allocations: 19.94 kB / 0.616 GB, free: 15.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.719e-05/0.6786, allocations: 349.7 kB / 0.6163 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002635/0.6813, allocations: 1.094 MB / 0.6174 GB, free: 15.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002879/0.6842, allocations: 1.319 MB / 0.6187 GB, free: 14.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003303/0.6875, allocations: 1.145 MB / 0.6198 GB, free: 13.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.6875, allocations: 7.812 kB / 0.6198 GB, free: 13.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007906/0.6954, allocations: 3.302 MB / 0.623 GB, free: 10.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.6955, allocations: 11.98 kB / 0.623 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.6955, allocations: 4 kB / 0.623 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002501/0.698, allocations: 0.7854 MB / 0.6238 GB, free: 9.785 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001907/0.7, allocations: 431.2 kB / 0.6242 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01324/0.7132, allocations: 14.97 MB / 0.6388 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002732/0.716, allocations: 307.6 kB / 0.6391 GB, free: 9.047 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/0.7162, allocations: 51.97 kB / 0.6392 GB, free: 8.996 MB / 462.1 MB 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 (82): * Single equations (assignments): 74 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 2,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009352/0.7171, allocations: 403.1 kB / 0.6396 GB, free: 8.594 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002903/0.7174, allocations: 142.3 kB / 0.6397 GB, free: 8.453 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008658/0.7261, allocations: 3.235 MB / 0.6429 GB, free: 5.184 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.7261, allocations: 12 kB / 0.6429 GB, free: 5.172 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/0.7261, allocations: 11.95 kB / 0.6429 GB, free: 5.16 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.7262, allocations: 3.984 kB / 0.6429 GB, free: 5.156 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/0.7376, allocations: 4.935 MB / 0.6477 GB, free: 108 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.7377, allocations: 8 kB / 0.6477 GB, free: 100 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/0.7393, allocations: 363.7 kB / 0.6481 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002263/0.7416, allocations: 0.6924 MB / 0.6487 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/0.7417, allocations: 35.95 kB / 0.6488 GB, free: 14.99 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01374/0.7555, allocations: 14.61 MB / 0.663 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.7555, allocations: 4 kB / 0.663 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008398/0.7639, allocations: 3.224 MB / 0.6662 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/0.7651, allocations: 383.2 kB / 0.6666 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/0.7653, allocations: 27.94 kB / 0.6666 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001843/0.7671, allocations: 295.5 kB / 0.6669 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003615/0.7675, allocations: 82.28 kB / 0.6669 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-05/0.7676, allocations: 39.97 kB / 0.667 GB, free: 11.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001193/0.7688, allocations: 0.7288 MB / 0.6677 GB, free: 10.38 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7688, allocations: 0 / 0.6677 GB, free: 10.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001961/0.7708, allocations: 430.6 kB / 0.6681 GB, free: 9.961 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003335/0.7712, allocations: 131.8 kB / 0.6682 GB, free: 9.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008419/0.7796, allocations: 3.656 MB / 0.6718 GB, free: 6.066 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/0.7796, allocations: 4 kB / 0.6718 GB, free: 6.062 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005004/0.7846, allocations: 2.377 MB / 0.6741 GB, free: 3.582 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002649/0.7873, allocations: 488.3 kB / 0.6746 GB, free: 3.121 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00789/0.7952, allocations: 3.943 MB / 0.6784 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/0.7963, allocations: 1.411 MB / 0.6798 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001725/0.7981, allocations: 383.9 kB / 0.6802 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003291/0.7984, allocations: 107.3 kB / 0.6803 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of SimCode: time 2.415e-06/0.7984, allocations: 0 / 0.6803 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of Templates: time 0.04706/0.8455, allocations: 28.09 MB / 0.7077 GB, free: 1.531 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)