Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007985/0.0008013, allocations: 95.88 kB / 15.68 MB, free: 488 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.0008142/0.0008142, allocations: 176.8 kB / 16.57 MB, free: 6.52 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.193/1.193, allocations: 223.2 MB / 240.5 MB, free: 5.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6214/0.6214, allocations: 113.6 MB / 405.3 MB, free: 4.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000291/0.000291, allocations: 8 kB / 493 MB, free: 8.617 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1211, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01222/0.1334, allocations: 12.47 MB / 0.5689 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01174/0.1452, allocations: 9.434 MB / 0.5781 GB, free: 5.738 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009709/0.1462, allocations: 47.62 kB / 0.5782 GB, free: 5.691 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006045/0.1468, allocations: 258.3 kB / 0.5784 GB, free: 5.438 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003683/0.1505, allocations: 1.458 MB / 0.5798 GB, free: 3.984 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.1518, allocations: 0.5223 MB / 0.5803 GB, free: 3.461 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002486/0.1543, allocations: 1.753 MB / 0.5821 GB, free: 1.703 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2212/0.3755, allocations: 1.806 MB / 0.5838 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002978/0.3785, allocations: 1.195 MB / 0.585 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001883/0.3804, allocations: 0.8464 MB / 0.5858 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002064/0.3806, allocations: 69.78 kB / 0.5859 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.3818, allocations: 388.2 kB / 0.5863 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005979/0.3824, allocations: 461.1 kB / 0.5867 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005363/0.383, allocations: 355.9 kB / 0.587 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002889/0.3859, allocations: 2.076 MB / 0.5891 GB, free: 13.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3859, allocations: 0 / 0.5891 GB, free: 13.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3859, allocations: 5.328 kB / 0.5891 GB, free: 13.58 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.269e-05/0.3859, allocations: 0 / 0.5891 GB, free: 13.58 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003611/0.3896, allocations: 1.849 MB / 0.5909 GB, free: 12.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.3896, allocations: 9.031 kB / 0.5909 GB, free: 12.58 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002769/0.3899, allocations: 196.3 kB / 0.5911 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01131/0.4012, allocations: 2.186 MB / 0.5932 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003046/0.4043, allocations: 1.159 MB / 0.5943 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-05/0.4044, allocations: 90.22 kB / 0.5944 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002579/0.4047, allocations: 125.4 kB / 0.5945 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005686/0.4103, allocations: 2.678 MB / 0.5972 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.907e-05/0.4104, allocations: 6.688 kB / 0.5972 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001686/0.4106, allocations: 53.67 kB / 0.5972 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006484/0.4112, allocations: 193.8 kB / 0.5974 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00751/0.4187, allocations: 2.834 MB / 0.6002 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01516/0.4339, allocations: 10.56 MB / 0.6105 GB, free: 21.2 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005877/0.4399, allocations: 2.384 MB / 0.6128 GB, free: 20.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.294e-05/0.44, allocations: 9.375 kB / 0.6128 GB, free: 20.43 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.44, allocations: 49.91 kB / 0.6129 GB, free: 20.39 MB / 462.1 MB Notification: Performance of pre-optimization done (n=89): time 3.096e-06/0.44, allocations: 0 / 0.6129 GB, free: 20.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=153): time 0.05406/0.4941, allocations: 16.5 MB / 0.629 GB, free: 11.86 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.4942, allocations: 68.72 kB / 0.629 GB, free: 11.78 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001843/0.496, allocations: 1.16 MB / 0.6302 GB, free: 10.61 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000378/0.4964, allocations: 53.7 kB / 0.6302 GB, free: 10.55 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006079/0.4971, allocations: 0.7429 MB / 0.631 GB, free: 9.805 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005944/0.4977, allocations: 0.5165 MB / 0.6315 GB, free: 9.293 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.4978, allocations: 28 kB / 0.6315 GB, free: 9.266 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.498, allocations: 373.9 kB / 0.6318 GB, free: 8.895 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003445/0.5014, allocations: 1.526 MB / 0.6333 GB, free: 7.367 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003585/0.505, allocations: 1.794 MB / 0.6351 GB, free: 5.484 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003556/0.5086, allocations: 1.647 MB / 0.6367 GB, free: 3.844 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.5086, allocations: 0 / 0.6367 GB, free: 3.844 MB / 462.1 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.0129/0.5215, allocations: 5.294 MB / 0.6419 GB, free: 14.62 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.5216, allocations: 8 kB / 0.6419 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.5216, allocations: 8 kB / 0.6419 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006463/0.5281, allocations: 1.89 MB / 0.6437 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/0.5301, allocations: 434.2 kB / 0.6441 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02783/0.5579, allocations: 22.83 MB / 0.6664 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002869/0.5608, allocations: 315.6 kB / 0.6667 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002041/0.561, allocations: 71.52 kB / 0.6668 GB, free: 4.145 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009957/0.562, allocations: 463.7 kB / 0.6672 GB, free: 3.691 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003265/0.5624, allocations: 173.9 kB / 0.6674 GB, free: 3.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/0.575, allocations: 5.345 MB / 0.6726 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.575, allocations: 19.98 kB / 0.6727 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.26e-05/0.5751, allocations: 20 kB / 0.6727 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/0.5751, allocations: 3.984 kB / 0.6727 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01612/0.5912, allocations: 7.443 MB / 0.6799 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.729e-06/0.5913, allocations: 0 / 0.6799 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/0.5929, allocations: 367.3 kB / 0.6803 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005719/0.5986, allocations: 1.702 MB / 0.682 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001973/0.5989, allocations: 43.97 kB / 0.682 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0263/0.6252, allocations: 22.05 MB / 0.7035 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.6252, allocations: 7.984 kB / 0.7035 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01203/0.6372, allocations: 5.073 MB / 0.7085 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001271/0.6385, allocations: 494.8 kB / 0.709 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002581/0.6388, allocations: 27.98 kB / 0.709 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002053/0.6409, allocations: 323.5 kB / 0.7093 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004771/0.6413, allocations: 153 kB / 0.7094 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/0.6415, allocations: 55.97 kB / 0.7095 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001033/0.6425, allocations: 0.782 MB / 0.7103 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.6425, allocations: 96 / 0.7103 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002008/0.6445, allocations: 0.6562 MB / 0.7109 GB, free: 5.613 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.012/0.6565, allocations: 6.39 MB / 0.7171 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01096/0.6675, allocations: 5.181 MB / 0.7222 GB, free: 9.809 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.649e-06/0.6676, allocations: 4 kB / 0.7222 GB, free: 9.805 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006808/0.6744, allocations: 3.371 MB / 0.7255 GB, free: 6.336 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002253/0.6767, allocations: 0.4907 MB / 0.726 GB, free: 5.852 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0334/0.7101, allocations: 20.61 MB / 0.7461 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/0.7114, allocations: 1.603 MB / 0.7477 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001677/0.7131, allocations: 386.4 kB / 0.748 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008498/0.714, allocations: 0.6593 MB / 0.7487 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of SimCode: time 7.51e-07/0.714, allocations: 0 / 0.7487 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6393/1.353, allocations: 56.11 MB / 0.8035 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/1.353, allocations: 217.3 kB / 0.8037 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.96/4.313, allocations: 8.062 kB / 0.8037 GB, free: 6.297 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) Environment - environmentSimulation: