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.0008462/0.0008461, allocations: 88.17 kB / 15.7 MB, free: 460 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.001152/0.001152, allocations: 175.6 kB / 16.58 MB, free: 6.449 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.325/1.325, allocations: 223.2 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6633/0.6633, allocations: 113.7 MB / 405.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003162, allocations: 8 kB / 493.2 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1393, allocations: 77.11 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.3013/0.4406, allocations: 29.7 MB / 0.5859 GB, free: 17.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01612/0.4568, allocations: 9.753 MB / 0.5954 GB, free: 17.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003116/0.4599, allocations: 128 kB / 0.5956 GB, free: 16.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002059/0.462, allocations: 0.6161 MB / 0.5962 GB, free: 16.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004865/0.4669, allocations: 1.465 MB / 0.5976 GB, free: 16.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005152/0.472, allocations: 1.259 MB / 0.5988 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01267/0.4847, allocations: 8.267 MB / 0.6069 GB, free: 12.85 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01921/0.504, allocations: 10.34 MB / 0.617 GB, free: 8.152 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005221/0.5092, allocations: 2.261 MB / 0.6192 GB, free: 7.043 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005244/0.5145, allocations: 2.893 MB / 0.622 GB, free: 5.648 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001399/0.5159, allocations: 271.9 kB / 0.6223 GB, free: 5.645 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004287/0.5203, allocations: 0.8357 MB / 0.6231 GB, free: 5.344 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003241/0.5235, allocations: 2.041 MB / 0.6251 GB, free: 4.152 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002351/0.5259, allocations: 0.9587 MB / 0.626 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009582/0.5355, allocations: 8.348 MB / 0.6342 GB, free: 11.48 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.5355, allocations: 4 kB / 0.6342 GB, free: 11.48 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.027e-06/0.5355, allocations: 3.984 kB / 0.6342 GB, free: 11.47 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003177/0.5359, allocations: 0 / 0.6342 GB, free: 11.47 MB / 462.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.0096/0.5455, allocations: 4.059 MB / 0.6381 GB, free: 7.387 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.5455, allocations: 8.031 kB / 0.6382 GB, free: 7.379 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002316/0.5479, allocations: 0.6903 MB / 0.6388 GB, free: 6.688 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006204/0.5541, allocations: 0.9485 MB / 0.6398 GB, free: 5.734 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006377/0.5605, allocations: 2.801 MB / 0.6425 GB, free: 2.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004286/0.561, allocations: 353.6 kB / 0.6428 GB, free: 2.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001693/0.5627, allocations: 462.7 kB / 0.6433 GB, free: 2.129 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01773/0.5804, allocations: 7.634 MB / 0.6507 GB, free: 10.17 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002591/0.5807, allocations: 23.78 kB / 0.6507 GB, free: 10.15 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001101/0.5818, allocations: 205 kB / 0.6509 GB, free: 9.957 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003468/0.5822, allocations: 312.9 kB / 0.6512 GB, free: 9.648 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01037/0.5926, allocations: 5.667 MB / 0.6568 GB, free: 3.965 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03432/0.6269, allocations: 35.13 MB / 0.6911 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002739/0.6297, allocations: 2.151 MB / 0.6932 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/0.6314, allocations: 1.265 MB / 0.6944 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.552e-05/0.6315, allocations: 13.31 kB / 0.6944 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.6315, allocations: 55.75 kB / 0.6945 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=133): time 3.456e-06/0.6315, allocations: 0 / 0.6945 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=136): time 0.0126/0.6441, allocations: 7.08 MB / 0.7014 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.6442, allocations: 64.72 kB / 0.7015 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/0.646, allocations: 1.472 MB / 0.7029 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.022e-05/0.6461, allocations: 45.7 kB / 0.7029 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001228/0.6473, allocations: 2.01 MB / 0.7049 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003774/0.6477, allocations: 485.6 kB / 0.7054 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-05/0.6478, allocations: 40 kB / 0.7054 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.648, allocations: 377.9 kB / 0.7058 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.6492, allocations: 0.9057 MB / 0.7067 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/0.6508, allocations: 1.593 MB / 0.7082 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.6523, allocations: 1.173 MB / 0.7094 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/0.6523, allocations: 11.94 kB / 0.7094 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005476/0.6578, allocations: 3.511 MB / 0.7128 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.6579, allocations: 16 kB / 0.7128 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.6579, allocations: 20 kB / 0.7128 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002281/0.6602, allocations: 0.9067 MB / 0.7137 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.6613, allocations: 351.4 kB / 0.714 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01787/0.6791, allocations: 21.19 MB / 0.7347 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.6806, allocations: 103.9 kB / 0.7348 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.6807, allocations: 87.98 kB / 0.7349 GB, free: 14.43 MB / 0.5606 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.00254/0.6832, allocations: 1.606 MB / 0.7365 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003473/0.6836, allocations: 205.6 kB / 0.7367 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005178/0.6888, allocations: 2.985 MB / 0.7396 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.6888, allocations: 15.98 kB / 0.7396 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.811e-05/0.6888, allocations: 12 kB / 0.7396 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.6888, allocations: 7.969 kB / 0.7396 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/0.6999, allocations: 7.308 MB / 0.7468 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.7, allocations: 8.031 kB / 0.7468 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007082/0.7007, allocations: 187.7 kB / 0.747 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002174/0.7029, allocations: 0.8101 MB / 0.7478 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.353e-05/0.703, allocations: 32 kB / 0.7478 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01723/0.7202, allocations: 20.29 MB / 0.7676 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.7203, allocations: 11.92 kB / 0.7676 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004764/0.725, allocations: 3.011 MB / 0.7706 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008812/0.7259, allocations: 466.5 kB / 0.771 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002054/0.7261, allocations: 24 kB / 0.771 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006687/0.7268, allocations: 79.84 kB / 0.7711 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003491/0.7272, allocations: 124.7 kB / 0.7712 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.008e-05/0.7273, allocations: 36 kB / 0.7713 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00136/0.7286, allocations: 0.9677 MB / 0.7722 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7286, allocations: 0 / 0.7722 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002795/0.7314, allocations: 0.7852 MB / 0.773 GB, free: 5.43 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.004845/0.7363, allocations: 3.607 MB / 0.7765 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005339/0.7417, allocations: 4 MB / 0.7804 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.7417, allocations: 0 / 0.7804 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003372/0.7451, allocations: 2.736 MB / 0.7831 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002757/0.7478, allocations: 0.6716 MB / 0.7837 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03182/0.7797, allocations: 19.02 MB / 0.8023 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003487/0.7832, allocations: 3.109 MB / 0.8053 GB, free: 2.668 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001473/0.7847, allocations: 450 kB / 0.8058 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001763/0.7865, allocations: 1.55 MB / 0.8073 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of SimCode: time 2.305e-06/0.7865, allocations: 0 / 0.8073 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3803/1.167, allocations: 59 MB / 0.8649 GB, free: 194.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/1.167, allocations: 227.1 kB / 0.8651 GB, free: 193.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.666/3.833, allocations: 0 / 0.8651 GB, free: 193.8 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: