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.001082/0.001083, allocations: 110.4 kB / 17.03 MB, free: 5.699 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.001046/0.001046, allocations: 196.1 kB / 17.97 MB, free: 5.078 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.328/1.328, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7417/0.7417, allocations: 115.1 MB / 406.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 63.91 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3524, allocations: 76.14 MB / 0.5576 GB, free: 36.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.0116/0.364, allocations: 10.89 MB / 0.5682 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01186/0.3759, allocations: 8.795 MB / 0.5768 GB, free: 23.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/0.3774, allocations: 59.12 kB / 0.5768 GB, free: 23.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003815/0.3812, allocations: 1.676 MB / 0.5785 GB, free: 22.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00436/0.3855, allocations: 1.526 MB / 0.58 GB, free: 21.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.3873, allocations: 0.6745 MB / 0.5806 GB, free: 20.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002794/0.3901, allocations: 2.283 MB / 0.5829 GB, free: 19.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001593/0.3917, allocations: 1.385 MB / 0.5842 GB, free: 19.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001656/0.3934, allocations: 0.9798 MB / 0.5852 GB, free: 18.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001672/0.395, allocations: 1.025 MB / 0.5862 GB, free: 18.37 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002484/0.3953, allocations: 138.5 kB / 0.5863 GB, free: 18.37 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/0.3974, allocations: 0.7932 MB / 0.5871 GB, free: 18.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006059/0.398, allocations: 0.5721 MB / 0.5876 GB, free: 17.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000856/0.3989, allocations: 0.8815 MB / 0.5885 GB, free: 17.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002622/0.4015, allocations: 2.57 MB / 0.591 GB, free: 15.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4015, allocations: 1.094 kB / 0.591 GB, free: 15.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4015, allocations: 0 / 0.591 GB, free: 15.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.692e-05/0.4015, allocations: 0 / 0.591 GB, free: 15.8 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.002856/0.4044, allocations: 2.026 MB / 0.593 GB, free: 14.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.4044, allocations: 13.02 kB / 0.593 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009892/0.4143, allocations: 2.042 MB / 0.595 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00245/0.4168, allocations: 1.218 MB / 0.5962 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.383e-05/0.4169, allocations: 88.97 kB / 0.5963 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002329/0.4171, allocations: 116 kB / 0.5964 GB, free: 12.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004447/0.4216, allocations: 2.482 MB / 0.5988 GB, free: 10.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.877e-05/0.4216, allocations: 7.844 kB / 0.5988 GB, free: 10 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/0.4218, allocations: 55.98 kB / 0.5989 GB, free: 9.949 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002887/0.4221, allocations: 130.1 kB / 0.599 GB, free: 9.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005602/0.4277, allocations: 2.541 MB / 0.6015 GB, free: 7.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01133/0.439, allocations: 10.03 MB / 0.6113 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005885/0.4449, allocations: 1.948 MB / 0.6132 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002566/0.4475, allocations: 0.9763 MB / 0.6141 GB, free: 9.613 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.886e-05/0.4476, allocations: 8.438 kB / 0.6141 GB, free: 9.605 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.4476, allocations: 39 kB / 0.6142 GB, free: 9.559 MB / 462.1 MB Notification: Performance of pre-optimization done (n=53): time 2.274e-06/0.4476, allocations: 0 / 0.6142 GB, free: 9.559 MB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.02899/0.4766, allocations: 8.707 MB / 0.6227 GB, free: 0.793 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.4767, allocations: 64 kB / 0.6227 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/0.4782, allocations: 1.105 MB / 0.6238 GB, free: 15.59 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.656e-05/0.4783, allocations: 45.69 kB / 0.6239 GB, free: 15.54 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006179/0.4789, allocations: 0.7302 MB / 0.6246 GB, free: 14.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003857/0.4793, allocations: 283.9 kB / 0.6248 GB, free: 14.52 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003877/0.4797, allocations: 202.4 kB / 0.625 GB, free: 14.32 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.4799, allocations: 345.9 kB / 0.6254 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002677/0.4825, allocations: 1.079 MB / 0.6264 GB, free: 12.89 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002893/0.4854, allocations: 1.305 MB / 0.6277 GB, free: 11.49 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005345/0.4908, allocations: 2.378 MB / 0.63 GB, free: 9.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.4908, allocations: 4 kB / 0.63 GB, free: 9.016 MB / 478.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008202/0.499, allocations: 3.272 MB / 0.6332 GB, free: 5.711 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.4991, allocations: 10.03 kB / 0.6332 GB, free: 5.703 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.4991, allocations: 12 kB / 0.6332 GB, free: 5.691 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002622/0.5017, allocations: 0.7836 MB / 0.634 GB, free: 4.883 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/0.5035, allocations: 427.2 kB / 0.6344 GB, free: 4.465 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0154/0.5189, allocations: 15.91 MB / 0.6499 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/0.5212, allocations: 295.6 kB / 0.6502 GB, free: 3.145 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.5213, allocations: 51.95 kB / 0.6503 GB, free: 3.094 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.0007135/0.522, allocations: 395.5 kB / 0.6506 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002275/0.5223, allocations: 150.3 kB / 0.6508 GB, free: 2.551 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008026/0.5303, allocations: 3.191 MB / 0.6539 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.5303, allocations: 11.94 kB / 0.6539 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.861e-05/0.5304, allocations: 12 kB / 0.6539 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.5304, allocations: 3.984 kB / 0.6539 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/0.5409, allocations: 4.901 MB / 0.6587 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.5409, allocations: 7.922 kB / 0.6587 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001455/0.5424, allocations: 351.7 kB / 0.6591 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002237/0.5446, allocations: 0.7012 MB / 0.6597 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.5448, allocations: 31.97 kB / 0.6598 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01488/0.5596, allocations: 15.53 MB / 0.6749 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.5597, allocations: 4 kB / 0.6749 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007564/0.5672, allocations: 3.047 MB / 0.6779 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/0.5683, allocations: 379.2 kB / 0.6783 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/0.5685, allocations: 20 kB / 0.6783 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001671/0.5702, allocations: 295.4 kB / 0.6786 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002656/0.5705, allocations: 76.5 kB / 0.6787 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.5706, allocations: 47.89 kB / 0.6787 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009729/0.5716, allocations: 0.7327 MB / 0.6794 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5716, allocations: 4 kB / 0.6794 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001407/0.573, allocations: 436 kB / 0.6798 GB, free: 3.383 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.0002383/0.5732, allocations: 127.2 kB / 0.68 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007805/0.581, allocations: 3.629 MB / 0.6835 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.5811, allocations: 3.938 kB / 0.6835 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004676/0.5858, allocations: 2.371 MB / 0.6858 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/0.588, allocations: 0.5206 MB / 0.6863 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006799/0.5948, allocations: 3.425 MB / 0.6897 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009974/0.5958, allocations: 1.384 MB / 0.691 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00124/0.5971, allocations: 379.9 kB / 0.6914 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003524/0.5974, allocations: 107.4 kB / 0.6915 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of SimCode: time 7.32e-07/0.5974, allocations: 0 / 0.6915 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of Templates: time 0.04811/0.6455, allocations: 30.23 MB / 0.721 GB, free: 9.375 MB / 0.5606 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)