Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.0008878/0.0008876, allocations: 99.28 kB / 16.02 MB, free: 80 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.0009635/0.0009637, allocations: 183.6 kB / 16.92 MB, free: 6.754 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.579/1.579, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8151/0.8151, allocations: 126.9 MB / 418.9 MB, free: 7.293 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003295/0.0003295, allocations: 12 kB / 0.498 GB, free: 9.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5102/0.5105, allocations: 80.23 MB / 0.5763 GB, free: 7.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006721/0.5173, allocations: 5.727 MB / 0.5819 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00524/0.5226, allocations: 3.134 MB / 0.585 GB, free: 1.859 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000655/0.5233, allocations: 24.97 kB / 0.585 GB, free: 1.848 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003711/0.5236, allocations: 119.6 kB / 0.5851 GB, free: 1.777 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.5249, allocations: 445.6 kB / 0.5856 GB, free: 1.531 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.5262, allocations: 462.6 kB / 0.586 GB, free: 1.297 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001991/0.5282, allocations: 1.475 MB / 0.5874 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001871/0.5301, allocations: 0.9825 MB / 0.5884 GB, free: 252 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008217/0.5309, allocations: 362.7 kB / 0.5887 GB, free: 96 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007774/0.5317, allocations: 452 kB / 0.5892 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.893e-05/0.5318, allocations: 29.78 kB / 0.5892 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.5333, allocations: 0.5747 MB / 0.5898 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003587/0.5336, allocations: 258.3 kB / 0.59 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004827/0.5341, allocations: 385 kB / 0.5904 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001975/0.5361, allocations: 1.166 MB / 0.5915 GB, free: 15.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.5361, allocations: 0 / 0.5915 GB, free: 15.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5361, allocations: 0 / 0.5915 GB, free: 15.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.158e-05/0.5362, allocations: 1.375 kB / 0.5915 GB, free: 15.04 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.002021/0.5382, allocations: 0.9146 MB / 0.5924 GB, free: 14.35 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.5382, allocations: 9.438 kB / 0.5924 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001811/0.5401, allocations: 219.5 kB / 0.5926 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.5412, allocations: 0.54 MB / 0.5932 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.49e-05/0.5413, allocations: 50.8 kB / 0.5932 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.5414, allocations: 65.78 kB / 0.5933 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.5434, allocations: 1.033 MB / 0.5943 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.865e-05/0.5434, allocations: 7.438 kB / 0.5943 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-05/0.5435, allocations: 29.72 kB / 0.5943 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001218/0.5436, allocations: 69.41 kB / 0.5944 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.5449, allocations: 0.695 MB / 0.5951 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006426/0.5514, allocations: 5.773 MB / 0.6007 GB, free: 7.746 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009871/0.5524, allocations: 0.5936 MB / 0.6013 GB, free: 7.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008589/0.5533, allocations: 409.5 kB / 0.6017 GB, free: 7.137 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.5533, allocations: 3.844 kB / 0.6017 GB, free: 7.137 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.5534, allocations: 44.97 kB / 0.6017 GB, free: 7.086 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 2.555e-06/0.5534, allocations: 0 / 0.6017 GB, free: 7.086 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.004908/0.5583, allocations: 2.074 MB / 0.6037 GB, free: 5.738 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.5584, allocations: 56.06 kB / 0.6038 GB, free: 5.676 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006129/0.559, allocations: 465.5 kB / 0.6042 GB, free: 5.391 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.974e-05/0.559, allocations: 38.83 kB / 0.6043 GB, free: 5.348 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003422/0.5594, allocations: 390.4 kB / 0.6046 GB, free: 5.004 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.5596, allocations: 149.2 kB / 0.6048 GB, free: 4.875 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.444e-05/0.5597, allocations: 51.34 kB / 0.6048 GB, free: 4.836 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.5599, allocations: 363.7 kB / 0.6052 GB, free: 4.484 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003878/0.5603, allocations: 243.9 kB / 0.6054 GB, free: 4.363 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005719/0.5609, allocations: 463.3 kB / 0.6059 GB, free: 3.961 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.562, allocations: 0.7549 MB / 0.6066 GB, free: 3.395 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.562, allocations: 2.406 kB / 0.6066 GB, free: 3.395 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002093/0.5641, allocations: 1.061 MB / 0.6076 GB, free: 2.805 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.5641, allocations: 7.594 kB / 0.6076 GB, free: 2.805 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.5641, allocations: 8.125 kB / 0.6077 GB, free: 2.805 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.5652, allocations: 331.9 kB / 0.608 GB, free: 2.629 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.5656, allocations: 100.7 kB / 0.6081 GB, free: 2.602 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008176/0.5738, allocations: 6.957 MB / 0.6149 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007138/0.5745, allocations: 43.2 kB / 0.6149 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-05/0.5746, allocations: 25.62 kB / 0.6149 GB, free: 12.2 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 (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.0005397/0.5751, allocations: 243.7 kB / 0.6152 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.5753, allocations: 57.28 kB / 0.6152 GB, free: 11.97 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002044/0.5773, allocations: 0.9142 MB / 0.6161 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.5773, allocations: 3.562 kB / 0.6161 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.5774, allocations: 8.062 kB / 0.6161 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.5774, allocations: 1.062 kB / 0.6161 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003283/0.5807, allocations: 1.708 MB / 0.6178 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.279e-06/0.5807, allocations: 1.719 kB / 0.6178 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.5809, allocations: 42.03 kB / 0.6178 GB, free: 10.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/0.5819, allocations: 332 kB / 0.6181 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.273e-05/0.582, allocations: 7.688 kB / 0.6181 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008554/0.5905, allocations: 6.941 MB / 0.6249 GB, free: 3.441 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.5906, allocations: 0 / 0.6249 GB, free: 3.441 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002123/0.5927, allocations: 1.019 MB / 0.6259 GB, free: 2.375 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004025/0.5931, allocations: 176.4 kB / 0.6261 GB, free: 2.184 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.39e-05/0.5932, allocations: 8 kB / 0.6261 GB, free: 2.176 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/0.5935, allocations: 19.98 kB / 0.6261 GB, free: 2.156 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.5937, allocations: 43.88 kB / 0.6262 GB, free: 2.113 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.792e-05/0.5937, allocations: 19.94 kB / 0.6262 GB, free: 2.094 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004746/0.5942, allocations: 310.9 kB / 0.6265 GB, free: 1.793 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5942, allocations: 0 / 0.6265 GB, free: 1.793 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009262/0.5951, allocations: 200 kB / 0.6267 GB, free: 1.598 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.0001877/0.5953, allocations: 119.1 kB / 0.6268 GB, free: 1.469 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002154/0.5975, allocations: 1.203 MB / 0.628 GB, free: 220 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.5975, allocations: 0 / 0.628 GB, free: 220 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.5989, allocations: 0.8621 MB / 0.6288 GB, free: 15.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.6001, allocations: 189.5 kB / 0.629 GB, free: 15.12 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/0.6026, allocations: 1.55 MB / 0.6305 GB, free: 13.53 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00076/0.6033, allocations: 0.9921 MB / 0.6315 GB, free: 12.51 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003516/0.6037, allocations: 105.2 kB / 0.6316 GB, free: 12.41 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.454e-05/0.6038, allocations: 35.44 kB / 0.6316 GB, free: 12.38 MB / 478.1 MB Notification: Performance of SimCode: time 6.91e-07/0.6038, allocations: 0 / 0.6316 GB, free: 12.38 MB / 478.1 MB Notification: Performance of Templates: time 0.01872/0.6225, allocations: 9.469 MB / 0.6408 GB, free: 2.996 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)