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.0009335/0.0009336, allocations: 90.22 kB / 16.66 MB, free: 6.594 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.001109/0.001109, allocations: 174.9 kB / 17.57 MB, free: 6.184 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.47/1.47, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7559/0.7559, allocations: 115.5 MB / 408.2 MB, free: 7.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.000402, allocations: 12 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.4094, allocations: 77.52 MB / 0.5606 GB, free: 35.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.0099/0.4193, allocations: 10.34 MB / 0.5707 GB, free: 28.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01156/0.4309, allocations: 8.677 MB / 0.5792 GB, free: 22.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.4324, allocations: 52.78 kB / 0.5792 GB, free: 22.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009213/0.4334, allocations: 275.7 kB / 0.5795 GB, free: 22.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004376/0.4377, allocations: 1.405 MB / 0.5809 GB, free: 21.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001784/0.4395, allocations: 0.6184 MB / 0.5815 GB, free: 20.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003515/0.4431, allocations: 2.892 MB / 0.5843 GB, free: 19.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003254/0.4463, allocations: 1.951 MB / 0.5862 GB, free: 18.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001792/0.4481, allocations: 0.815 MB / 0.587 GB, free: 18.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001928/0.4501, allocations: 0.9425 MB / 0.5879 GB, free: 18.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003493/0.4504, allocations: 60.03 kB / 0.588 GB, free: 18.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002267/0.4527, allocations: 0.8847 MB / 0.5888 GB, free: 17.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007189/0.4534, allocations: 484.2 kB / 0.5893 GB, free: 17.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001075/0.4545, allocations: 0.8107 MB / 0.5901 GB, free: 17.26 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002504/0.457, allocations: 1.972 MB / 0.592 GB, free: 16.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4571, allocations: 1.406 kB / 0.592 GB, free: 16.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4571, allocations: 0 / 0.592 GB, free: 16.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.75e-05/0.4571, allocations: 4 kB / 0.592 GB, free: 16.25 MB / 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.002905/0.46, allocations: 1.715 MB / 0.5937 GB, free: 14.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.4601, allocations: 12.56 kB / 0.5937 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01149/0.4716, allocations: 2.115 MB / 0.5958 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002222/0.4738, allocations: 1.119 MB / 0.5969 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.343e-05/0.4739, allocations: 92.88 kB / 0.5969 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002823/0.4742, allocations: 119.3 kB / 0.5971 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00547/0.4797, allocations: 2.505 MB / 0.5995 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.089e-05/0.4798, allocations: 7.922 kB / 0.5995 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/0.4799, allocations: 55.98 kB / 0.5996 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003201/0.4803, allocations: 134 kB / 0.5997 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006844/0.4871, allocations: 2.588 MB / 0.6022 GB, free: 8.426 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01164/0.4988, allocations: 10.12 MB / 0.6121 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006577/0.5054, allocations: 1.999 MB / 0.6141 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002925/0.5083, allocations: 0.9971 MB / 0.615 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.766e-05/0.5084, allocations: 8.438 kB / 0.615 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.5084, allocations: 35 kB / 0.6151 GB, free: 10.56 MB / 462.1 MB Notification: Performance of pre-optimization done (n=53): time 2.204e-06/0.5084, allocations: 0 / 0.6151 GB, free: 10.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.03277/0.5412, allocations: 8.781 MB / 0.6236 GB, free: 1.719 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.5413, allocations: 64 kB / 0.6237 GB, free: 1.641 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/0.5429, allocations: 1.105 MB / 0.6248 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001439/0.543, allocations: 33.7 kB / 0.6248 GB, free: 492 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005639/0.5436, allocations: 0.7419 MB / 0.6255 GB, free: 15.73 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002916/0.5439, allocations: 284 kB / 0.6258 GB, free: 15.45 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.5441, allocations: 77.67 kB / 0.6259 GB, free: 15.36 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.5442, allocations: 345.9 kB / 0.6262 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003177/0.5474, allocations: 1.087 MB / 0.6273 GB, free: 13.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003296/0.5507, allocations: 1.332 MB / 0.6286 GB, free: 12.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006461/0.5572, allocations: 2.417 MB / 0.6309 GB, free: 9.996 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.5572, allocations: 4 kB / 0.6309 GB, free: 9.992 MB / 478.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009426/0.5666, allocations: 3.319 MB / 0.6342 GB, free: 6.633 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.5667, allocations: 8 kB / 0.6342 GB, free: 6.625 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.5667, allocations: 4.875 kB / 0.6342 GB, free: 6.621 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002835/0.5696, allocations: 0.795 MB / 0.635 GB, free: 5.801 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/0.5717, allocations: 427.2 kB / 0.6354 GB, free: 5.383 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01566/0.5874, allocations: 14.71 MB / 0.6497 GB, free: 5.609 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002625/0.59, allocations: 307.5 kB / 0.65 GB, free: 5.309 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002339/0.5903, allocations: 47.97 kB / 0.6501 GB, free: 5.262 MB / 494.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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0009534/0.5912, allocations: 401.5 kB / 0.6505 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003893/0.5916, allocations: 142.3 kB / 0.6506 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009511/0.6012, allocations: 3.249 MB / 0.6538 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.6012, allocations: 8 kB / 0.6538 GB, free: 1.418 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.717e-05/0.6012, allocations: 8 kB / 0.6538 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.6013, allocations: 3.984 kB / 0.6538 GB, free: 1.406 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/0.6135, allocations: 4.94 MB / 0.6586 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.6136, allocations: 4 kB / 0.6586 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001783/0.6154, allocations: 363.7 kB / 0.659 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002485/0.6179, allocations: 0.6974 MB / 0.6597 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001326/0.618, allocations: 31.97 kB / 0.6597 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01567/0.6337, allocations: 14.33 MB / 0.6737 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/0.6337, allocations: 11.95 kB / 0.6737 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008864/0.6426, allocations: 3.081 MB / 0.6767 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009711/0.6436, allocations: 391 kB / 0.6771 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004584/0.6441, allocations: 23.94 kB / 0.6771 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002253/0.6463, allocations: 303.4 kB / 0.6774 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003186/0.6467, allocations: 80.48 kB / 0.6775 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/0.6468, allocations: 39.97 kB / 0.6775 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001318/0.6481, allocations: 0.7366 MB / 0.6782 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6482, allocations: 4 kB / 0.6782 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002006/0.6502, allocations: 439.9 kB / 0.6786 GB, free: 6.645 MB / 0.5137 GB 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003256/0.6505, allocations: 125.9 kB / 0.6788 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009225/0.6597, allocations: 3.648 MB / 0.6823 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.567e-06/0.6598, allocations: 0 / 0.6823 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0054/0.6652, allocations: 2.395 MB / 0.6847 GB, free: 268 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003663/0.6689, allocations: 492.9 kB / 0.6851 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009181/0.6781, allocations: 4.216 MB / 0.6892 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001384/0.6795, allocations: 1.388 MB / 0.6906 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006349/0.6802, allocations: 123.3 kB / 0.6907 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of SimCode: time 1.082e-06/0.6802, allocations: 0 / 0.6907 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of Templates: time 0.3766/1.057, allocations: 74.77 MB / 0.7637 GB, free: 160.5 MB / 0.5762 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)