Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 102.8 kB / 16.27 MB, free: 6.105 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.001089/0.001089, allocations: 184.9 kB / 17.19 MB, free: 5.723 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.339/1.339, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7542/0.7542, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 59.91 kB / 0.4911 GB, free: 7.402 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5654/0.567, allocations: 77.91 MB / 0.5672 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.01564/0.5827, allocations: 6.075 MB / 0.5731 GB, free: 28.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009484/0.5922, allocations: 3.127 MB / 0.5762 GB, free: 26.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.5936, allocations: 28.56 kB / 0.5762 GB, free: 26.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003766/0.5974, allocations: 0.9346 MB / 0.5771 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002321/0.5997, allocations: 471.2 kB / 0.5776 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002164/0.6019, allocations: 0.4916 MB / 0.5781 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002331/0.6042, allocations: 1.094 MB / 0.5791 GB, free: 24.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001997/0.6063, allocations: 0.6315 MB / 0.5797 GB, free: 24.6 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.6076, allocations: 438 kB / 0.5802 GB, free: 24.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001221/0.6088, allocations: 474.3 kB / 0.5806 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002381/0.6091, allocations: 58.62 kB / 0.5807 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.6108, allocations: 485.8 kB / 0.5811 GB, free: 24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004679/0.6113, allocations: 285.8 kB / 0.5814 GB, free: 23.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008051/0.6121, allocations: 403.2 kB / 0.5818 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002291/0.6144, allocations: 1.159 MB / 0.5829 GB, free: 22.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.6144, allocations: 0.5938 kB / 0.5829 GB, free: 22.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.6144, allocations: 3.938 kB / 0.5829 GB, free: 22.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.555e-05/0.6145, allocations: 1.5 kB / 0.5829 GB, free: 22.77 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002891/0.6174, allocations: 1.052 MB / 0.5839 GB, free: 21.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.6175, allocations: 14.48 kB / 0.584 GB, free: 21.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002913/0.6204, allocations: 216.7 kB / 0.5842 GB, free: 21.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.6217, allocations: 0.5425 MB / 0.5847 GB, free: 21.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.002e-05/0.6218, allocations: 42.16 kB / 0.5847 GB, free: 21.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/0.622, allocations: 64.2 kB / 0.5848 GB, free: 21.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/0.6243, allocations: 1.029 MB / 0.5858 GB, free: 20.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.261e-05/0.6244, allocations: 14.7 kB / 0.5858 GB, free: 20.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.6245, allocations: 32.72 kB / 0.5859 GB, free: 20.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001481/0.6246, allocations: 63.03 kB / 0.5859 GB, free: 20.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.6265, allocations: 0.6928 MB / 0.5866 GB, free: 20.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006067/0.6325, allocations: 5.751 MB / 0.5922 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009235/0.6335, allocations: 0.6048 MB / 0.5928 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008337/0.6343, allocations: 422.2 kB / 0.5932 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/0.6344, allocations: 8 kB / 0.5932 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.6344, allocations: 40.84 kB / 0.5932 GB, free: 14.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 2.505e-06/0.6344, allocations: 1.156 kB / 0.5932 GB, free: 14.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.004181/0.6386, allocations: 2.042 MB / 0.5952 GB, free: 12.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.6387, allocations: 56.31 kB / 0.5953 GB, free: 12.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004411/0.6391, allocations: 461.9 kB / 0.5957 GB, free: 12.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.6392, allocations: 31.23 kB / 0.5958 GB, free: 12.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.6393, allocations: 385.5 kB / 0.5961 GB, free: 12.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.226e-05/0.6394, allocations: 152.8 kB / 0.5963 GB, free: 11.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.6396, allocations: 117.7 kB / 0.5964 GB, free: 11.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.628e-05/0.6397, allocations: 363.2 kB / 0.5967 GB, free: 11.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/0.64, allocations: 243.1 kB / 0.597 GB, free: 11.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004377/0.6405, allocations: 459.7 kB / 0.5974 GB, free: 10.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006592/0.6411, allocations: 0.7596 MB / 0.5981 GB, free: 10.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.6411, allocations: 0 / 0.5981 GB, free: 10.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001506/0.6427, allocations: 1.069 MB / 0.5992 GB, free: 9.016 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.6427, allocations: 8 kB / 0.5992 GB, free: 9.008 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.6427, allocations: 8 kB / 0.5992 GB, free: 9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009236/0.6436, allocations: 335.6 kB / 0.5995 GB, free: 8.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.6439, allocations: 99.81 kB / 0.5996 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006226/0.6502, allocations: 7.52 MB / 0.607 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005899/0.6508, allocations: 28.03 kB / 0.607 GB, free: 460 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/0.6508, allocations: 32.17 kB / 0.607 GB, free: 428 kB / 446.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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003783/0.6512, allocations: 245.6 kB / 0.6073 GB, free: 172 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.632e-05/0.6513, allocations: 59.28 kB / 0.6073 GB, free: 112 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.653, allocations: 0.9155 MB / 0.6082 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.653, allocations: 8.141 kB / 0.6082 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.653, allocations: 4 kB / 0.6082 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.653, allocations: 3.984 kB / 0.6082 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002564/0.6556, allocations: 1.714 MB / 0.6099 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.6556, allocations: 0 / 0.6099 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.6558, allocations: 47.84 kB / 0.6099 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009114/0.6567, allocations: 327.5 kB / 0.6103 GB, free: 12.97 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.563e-05/0.6567, allocations: 12 kB / 0.6103 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006684/0.6634, allocations: 7.505 MB / 0.6176 GB, free: 4.895 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.6635, allocations: 0 / 0.6176 GB, free: 4.895 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.6653, allocations: 1.007 MB / 0.6186 GB, free: 3.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003405/0.6656, allocations: 176.3 kB / 0.6187 GB, free: 3.648 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.818e-05/0.6657, allocations: 12 kB / 0.6188 GB, free: 3.637 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.666, allocations: 27.95 kB / 0.6188 GB, free: 3.609 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.6662, allocations: 35.89 kB / 0.6188 GB, free: 3.574 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/0.6662, allocations: 16 kB / 0.6188 GB, free: 3.559 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004375/0.6666, allocations: 306.9 kB / 0.6191 GB, free: 3.262 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6667, allocations: 0 / 0.6191 GB, free: 3.262 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009316/0.6676, allocations: 199.9 kB / 0.6193 GB, free: 3.066 MB / 462.1 MB 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001782/0.6678, allocations: 112.5 kB / 0.6194 GB, free: 2.945 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00208/0.6699, allocations: 1.254 MB / 0.6206 GB, free: 1.641 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6699, allocations: 288 / 0.6206 GB, free: 1.641 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001285/0.6712, allocations: 0.8504 MB / 0.6215 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.6722, allocations: 202.5 kB / 0.6217 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.6746, allocations: 1.251 MB / 0.6229 GB, free: 15.26 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005877/0.6752, allocations: 0.9843 MB / 0.6239 GB, free: 14.25 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003067/0.6755, allocations: 97.17 kB / 0.6239 GB, free: 14.15 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.843e-05/0.6756, allocations: 35.44 kB / 0.624 GB, free: 14.11 MB / 478.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6756, allocations: 4 kB / 0.624 GB, free: 14.11 MB / 478.1 MB Notification: Performance of Templates: time 0.01755/0.6932, allocations: 9.953 MB / 0.6337 GB, free: 4.277 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)