Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.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: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.0008364/0.0008362, allocations: 96.27 kB / 15.69 MB, free: 480 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.0008684/0.0008685, allocations: 178.3 kB / 16.57 MB, free: 6.859 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.265/1.265, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6114/0.6114, allocations: 113.7 MB / 405.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003007/0.0003007, allocations: 8 kB / 493 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.136, allocations: 77.12 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.2975/0.4335, allocations: 28.67 MB / 0.5847 GB, free: 17.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01533/0.4488, allocations: 9.797 MB / 0.5943 GB, free: 17.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002669/0.4516, allocations: 122.5 kB / 0.5944 GB, free: 17.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001763/0.4533, allocations: 0.6289 MB / 0.595 GB, free: 17.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005091/0.4584, allocations: 1.267 MB / 0.5963 GB, free: 16.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005098/0.4636, allocations: 1.286 MB / 0.5975 GB, free: 16.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008199/0.4718, allocations: 3.435 MB / 0.6009 GB, free: 15.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01646/0.4883, allocations: 10.33 MB / 0.611 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003924/0.4922, allocations: 1.971 MB / 0.6129 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003485/0.4957, allocations: 1.98 MB / 0.6148 GB, free: 9.691 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006706/0.4964, allocations: 266.9 kB / 0.6151 GB, free: 9.691 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002391/0.4988, allocations: 0.6956 MB / 0.6158 GB, free: 9.496 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001729/0.5005, allocations: 1.871 MB / 0.6176 GB, free: 8.469 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001286/0.5018, allocations: 0.9548 MB / 0.6185 GB, free: 7.902 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006326/0.5082, allocations: 8.206 MB / 0.6265 GB, free: 2.039 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5082, allocations: 4 kB / 0.6265 GB, free: 2.035 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5082, allocations: 1.188 kB / 0.6265 GB, free: 2.035 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002399/0.5085, allocations: 0 / 0.6265 GB, free: 2.035 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.007245/0.5157, allocations: 4.026 MB / 0.6305 GB, free: 15.36 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.5158, allocations: 9.906 kB / 0.6305 GB, free: 15.36 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001158/0.5169, allocations: 0.683 MB / 0.6311 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004426/0.5214, allocations: 0.9153 MB / 0.632 GB, free: 13.78 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006859/0.5282, allocations: 2.796 MB / 0.6348 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002521/0.5285, allocations: 349.3 kB / 0.6351 GB, free: 10.58 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001343/0.5299, allocations: 459.9 kB / 0.6355 GB, free: 10.13 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01289/0.5428, allocations: 7.604 MB / 0.643 GB, free: 2.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001084/0.5429, allocations: 27.75 kB / 0.643 GB, free: 2.152 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004622/0.5434, allocations: 200 kB / 0.6432 GB, free: 1.957 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003174/0.5437, allocations: 317 kB / 0.6435 GB, free: 1.645 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009786/0.5535, allocations: 5.671 MB / 0.649 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03583/0.5893, allocations: 35.13 MB / 0.6833 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002648/0.592, allocations: 2.147 MB / 0.6854 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-05/0.5921, allocations: 25.23 kB / 0.6855 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.5922, allocations: 47.88 kB / 0.6855 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=133): time 3.186e-06/0.5922, allocations: 0 / 0.6855 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=136): time 0.01293/0.6051, allocations: 7.073 MB / 0.6924 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.6052, allocations: 68.7 kB / 0.6925 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001854/0.6071, allocations: 1.465 MB / 0.6939 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.682e-05/0.6072, allocations: 45.7 kB / 0.6939 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001287/0.6085, allocations: 2.012 MB / 0.6959 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004039/0.6089, allocations: 489 kB / 0.6964 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.553e-05/0.609, allocations: 40 kB / 0.6964 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.6091, allocations: 381.8 kB / 0.6968 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.6103, allocations: 0.9057 MB / 0.6977 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001693/0.612, allocations: 1.577 MB / 0.6992 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/0.6136, allocations: 1.177 MB / 0.7004 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.808e-06/0.6136, allocations: 8 kB / 0.7004 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005553/0.6191, allocations: 3.503 MB / 0.7038 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.367e-05/0.6192, allocations: 20.05 kB / 0.7038 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.811e-05/0.6192, allocations: 24 kB / 0.7038 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002367/0.6216, allocations: 0.8959 MB / 0.7047 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.6227, allocations: 351.4 kB / 0.705 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01914/0.6419, allocations: 21.55 MB / 0.7261 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.6435, allocations: 107.9 kB / 0.7262 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.6437, allocations: 92.05 kB / 0.7263 GB, free: 7.168 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(3,77.8%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002669/0.6463, allocations: 1.607 MB / 0.7278 GB, free: 5.551 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003096/0.6467, allocations: 201.7 kB / 0.728 GB, free: 5.352 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004715/0.6514, allocations: 2.978 MB / 0.7309 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.6514, allocations: 12 kB / 0.731 GB, free: 2.309 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.6514, allocations: 16 kB / 0.731 GB, free: 2.293 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.6514, allocations: 7.969 kB / 0.731 GB, free: 2.285 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01086/0.6623, allocations: 7.309 MB / 0.7381 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.6623, allocations: 4 kB / 0.7381 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008132/0.6632, allocations: 188.2 kB / 0.7383 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00249/0.6657, allocations: 0.8181 MB / 0.7391 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/0.6658, allocations: 28 kB / 0.7391 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0198/0.6856, allocations: 20.63 MB / 0.7593 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.353e-06/0.6856, allocations: 11.94 kB / 0.7593 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005002/0.6906, allocations: 3.302 MB / 0.7625 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009784/0.6916, allocations: 470.4 kB / 0.763 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.6918, allocations: 28 kB / 0.763 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007328/0.6926, allocations: 67.91 kB / 0.763 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002934/0.6929, allocations: 128.7 kB / 0.7632 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.582e-05/0.693, allocations: 39.98 kB / 0.7632 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00119/0.6942, allocations: 0.96 MB / 0.7641 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6942, allocations: 4 kB / 0.7641 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002624/0.6968, allocations: 0.7852 MB / 0.7649 GB, free: 13.34 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005604/0.7024, allocations: 5.045 MB / 0.7698 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00543/0.7079, allocations: 4.008 MB / 0.7738 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.7079, allocations: 4 kB / 0.7738 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003291/0.7112, allocations: 2.737 MB / 0.7764 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002735/0.7139, allocations: 0.6346 MB / 0.777 GB, free: 424 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03692/0.7509, allocations: 34.02 MB / 0.8103 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002935/0.7538, allocations: 3.189 MB / 0.8134 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001292/0.7551, allocations: 458 kB / 0.8138 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001476/0.7566, allocations: 1.546 MB / 0.8153 GB, free: 7.883 MB / 0.6387 GB Notification: Performance of SimCode: time 1.503e-06/0.7566, allocations: 7.938 kB / 0.8153 GB, free: 7.875 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.304/7.06, allocations: 58.95 MB / 0.8729 GB, free: 191.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001463/7.061, allocations: 221.9 kB / 0.8731 GB, free: 191.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.09/10.15, allocations: 0 / 0.8731 GB, free: 191.2 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) Environment - environmentSimulation: