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.001102/0.001102, allocations: 109.5 kB / 17.02 MB, free: 6.121 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.001088/0.001088, allocations: 194.9 kB / 17.97 MB, free: 5.211 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.319/1.319, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6987/0.6987, allocations: 115.1 MB / 406.9 MB, free: 6.328 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 71.88 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3967, allocations: 76.14 MB / 0.5576 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007556/0.4042, allocations: 6.132 MB / 0.5636 GB, free: 32.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005328/0.4096, allocations: 3.182 MB / 0.5667 GB, free: 30.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000757/0.4104, allocations: 30.75 kB / 0.5667 GB, free: 30.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002315/0.4128, allocations: 0.928 MB / 0.5676 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001358/0.4141, allocations: 475.4 kB / 0.5681 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.4156, allocations: 0.4941 MB / 0.5685 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001477/0.4171, allocations: 1.1 MB / 0.5696 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009888/0.4181, allocations: 0.6367 MB / 0.5702 GB, free: 28.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006911/0.4188, allocations: 439.9 kB / 0.5707 GB, free: 28.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007005/0.4195, allocations: 475.5 kB / 0.5711 GB, free: 28.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.4196, allocations: 58.81 kB / 0.5712 GB, free: 28.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.4209, allocations: 488 kB / 0.5716 GB, free: 28.03 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000367/0.4213, allocations: 288.1 kB / 0.5719 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004703/0.4218, allocations: 399.4 kB / 0.5723 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001817/0.4236, allocations: 1.175 MB / 0.5734 GB, free: 27.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.4236, allocations: 1.156 kB / 0.5734 GB, free: 27.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.4236, allocations: 0.5 kB / 0.5734 GB, free: 27.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.4237, allocations: 4.875 kB / 0.5734 GB, free: 27.27 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.001691/0.4254, allocations: 1.06 MB / 0.5745 GB, free: 26.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.4254, allocations: 9.625 kB / 0.5745 GB, free: 26.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/0.4269, allocations: 220 kB / 0.5747 GB, free: 26.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.4282, allocations: 0.5946 MB / 0.5753 GB, free: 26.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.973e-05/0.4282, allocations: 50.89 kB / 0.5753 GB, free: 26.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.4284, allocations: 61.14 kB / 0.5754 GB, free: 26.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.43, allocations: 1.039 MB / 0.5764 GB, free: 25.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/0.4301, allocations: 11.88 kB / 0.5764 GB, free: 25.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-05/0.4301, allocations: 32.94 kB / 0.5764 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001188/0.4303, allocations: 72.3 kB / 0.5765 GB, free: 25.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.4315, allocations: 0.6904 MB / 0.5772 GB, free: 25.15 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004558/0.436, allocations: 5.733 MB / 0.5828 GB, free: 20.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008336/0.4369, allocations: 0.5982 MB / 0.5834 GB, free: 19.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007981/0.4377, allocations: 432.8 kB / 0.5838 GB, free: 19.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.4377, allocations: 3.594 kB / 0.5838 GB, free: 19.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.4378, allocations: 37.19 kB / 0.5838 GB, free: 19.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 1.633e-06/0.4378, allocations: 4 kB / 0.5838 GB, free: 19.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.004464/0.4422, allocations: 2.052 MB / 0.5858 GB, free: 18.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.4423, allocations: 57.36 kB / 0.5859 GB, free: 18.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005444/0.4428, allocations: 464 kB / 0.5863 GB, free: 18.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.4429, allocations: 31.41 kB / 0.5863 GB, free: 18.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/0.4431, allocations: 390.6 kB / 0.5867 GB, free: 17.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.4432, allocations: 146.1 kB / 0.5869 GB, free: 17.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.4434, allocations: 113 kB / 0.587 GB, free: 17.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4435, allocations: 369.5 kB / 0.5873 GB, free: 17.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003769/0.4439, allocations: 249 kB / 0.5876 GB, free: 17.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004458/0.4443, allocations: 459.5 kB / 0.588 GB, free: 17.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007989/0.4451, allocations: 0.7529 MB / 0.5887 GB, free: 16.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4452, allocations: 1.406 kB / 0.5887 GB, free: 16.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001752/0.4469, allocations: 1.065 MB / 0.5898 GB, free: 15.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.447, allocations: 10.5 kB / 0.5898 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.447, allocations: 6.656 kB / 0.5898 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009964/0.448, allocations: 329.6 kB / 0.5901 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.4483, allocations: 99.19 kB / 0.5902 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006619/0.4549, allocations: 7.52 MB / 0.5975 GB, free: 8.777 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007256/0.4557, allocations: 26.91 kB / 0.5976 GB, free: 8.766 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.362e-05/0.4558, allocations: 30.11 kB / 0.5976 GB, free: 8.758 MB / 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.0005276/0.4563, allocations: 243.8 kB / 0.5978 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.4565, allocations: 64.94 kB / 0.5979 GB, free: 8.527 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/0.4582, allocations: 0.9171 MB / 0.5988 GB, free: 7.965 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.4582, allocations: 4.688 kB / 0.5988 GB, free: 7.965 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.4582, allocations: 4.719 kB / 0.5988 GB, free: 7.965 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.4582, allocations: 0 / 0.5988 GB, free: 7.965 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002742/0.461, allocations: 1.716 MB / 0.6005 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.461, allocations: 2.062 kB / 0.6005 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.4612, allocations: 46.22 kB / 0.6005 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008832/0.4621, allocations: 326.6 kB / 0.6008 GB, free: 6.547 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.4621, allocations: 8 kB / 0.6008 GB, free: 6.539 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005368/0.4675, allocations: 7.512 MB / 0.6082 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4675, allocations: 8 kB / 0.6082 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.4692, allocations: 1.015 MB / 0.6092 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/0.4695, allocations: 172.3 kB / 0.6093 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.529e-05/0.4696, allocations: 8 kB / 0.6093 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.4699, allocations: 27.97 kB / 0.6094 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.47, allocations: 35.89 kB / 0.6094 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.47, allocations: 12 kB / 0.6094 GB, free: 13.13 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003423/0.4704, allocations: 318.9 kB / 0.6097 GB, free: 12.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4704, allocations: 0 / 0.6097 GB, free: 12.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008769/0.4713, allocations: 199.9 kB / 0.6099 GB, free: 12.62 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.0001685/0.4715, allocations: 107.2 kB / 0.61 GB, free: 12.51 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001814/0.4733, allocations: 1.206 MB / 0.6112 GB, free: 11.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.4733, allocations: 0 / 0.6112 GB, free: 11.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.4744, allocations: 0.8582 MB / 0.612 GB, free: 10.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009501/0.4754, allocations: 206.8 kB / 0.6122 GB, free: 10.15 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001946/0.4774, allocations: 1.235 MB / 0.6134 GB, free: 8.867 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005653/0.4779, allocations: 0.9921 MB / 0.6144 GB, free: 7.848 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002565/0.4782, allocations: 101.2 kB / 0.6145 GB, free: 7.746 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.538e-05/0.4783, allocations: 39.44 kB / 0.6145 GB, free: 7.707 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4783, allocations: 0 / 0.6145 GB, free: 7.707 MB / 462.1 MB Notification: Performance of Templates: time 0.01604/0.4943, allocations: 9.958 MB / 0.6243 GB, free: 13.88 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)