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.0007745/0.0007745, 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.0007783/0.0007784, allocations: 174.6 kB / 16.58 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.316/1.316, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.631/0.631, allocations: 113.7 MB / 405.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003384, allocations: 12.73 kB / 493.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.137, allocations: 77.11 MB / 0.5569 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01371/0.1508, allocations: 13.31 MB / 0.5699 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01261/0.1634, allocations: 9.607 MB / 0.5793 GB, free: 4.672 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00125/0.1647, allocations: 51.69 kB / 0.5793 GB, free: 4.621 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000991/0.1657, allocations: 277.8 kB / 0.5796 GB, free: 4.348 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004089/0.1698, allocations: 1.457 MB / 0.581 GB, free: 2.891 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.1712, allocations: 0.5067 MB / 0.5815 GB, free: 2.383 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.253/0.4243, allocations: 2.9 MB / 0.5844 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003903/0.4282, allocations: 1.808 MB / 0.5861 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002752/0.431, allocations: 1.287 MB / 0.5874 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002162/0.4332, allocations: 1.042 MB / 0.5884 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002335/0.4334, allocations: 73.19 kB / 0.5885 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.4348, allocations: 439 kB / 0.5889 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006601/0.4355, allocations: 0.4887 MB / 0.5894 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004968/0.436, allocations: 354.5 kB / 0.5897 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002946/0.4389, allocations: 2.129 MB / 0.5918 GB, free: 13.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4389, allocations: 0 / 0.5918 GB, free: 13.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4389, allocations: 1.156 kB / 0.5918 GB, free: 13.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.043e-05/0.439, allocations: 0 / 0.5918 GB, free: 13.51 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.003702/0.4427, allocations: 1.863 MB / 0.5936 GB, free: 12.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.4428, allocations: 10.03 kB / 0.5936 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002703/0.443, allocations: 193.2 kB / 0.5938 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/0.4537, allocations: 2.168 MB / 0.5959 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002821/0.4565, allocations: 1.168 MB / 0.597 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.44e-05/0.4566, allocations: 86.42 kB / 0.5971 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002726/0.4569, allocations: 118 kB / 0.5972 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00529/0.4622, allocations: 2.685 MB / 0.5999 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.881e-05/0.4622, allocations: 5.375 kB / 0.5999 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/0.4624, allocations: 54.38 kB / 0.5999 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005365/0.463, allocations: 194.8 kB / 0.6001 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007638/0.4706, allocations: 2.833 MB / 0.6029 GB, free: 11.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01401/0.4846, allocations: 10.56 MB / 0.6132 GB, free: 20.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006015/0.4907, allocations: 2.384 MB / 0.6155 GB, free: 20.04 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002581/0.4933, allocations: 1.29 MB / 0.6168 GB, free: 19.73 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.474e-05/0.4934, allocations: 12.33 kB / 0.6168 GB, free: 19.73 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.4934, allocations: 43 kB / 0.6168 GB, free: 19.69 MB / 462.1 MB Notification: Performance of pre-optimization done (n=89): time 2.926e-06/0.4934, allocations: 5.219 kB / 0.6168 GB, free: 19.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=153): time 0.04759/0.541, allocations: 16.51 MB / 0.633 GB, free: 7.941 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.5411, allocations: 68.72 kB / 0.633 GB, free: 7.863 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.5426, allocations: 1.16 MB / 0.6342 GB, free: 6.691 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00013/0.5427, allocations: 53.7 kB / 0.6342 GB, free: 6.633 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004883/0.5432, allocations: 0.7385 MB / 0.6349 GB, free: 5.891 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004533/0.5437, allocations: 0.5171 MB / 0.6354 GB, free: 5.379 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.5438, allocations: 28 kB / 0.6355 GB, free: 5.352 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.5439, allocations: 377.1 kB / 0.6358 GB, free: 4.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003006/0.547, allocations: 1.522 MB / 0.6373 GB, free: 3.457 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003201/0.5502, allocations: 1.792 MB / 0.6391 GB, free: 1.574 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003498/0.5537, allocations: 1.649 MB / 0.6407 GB, free: 15.93 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.5537, allocations: 4 kB / 0.6407 GB, free: 15.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01159/0.5653, allocations: 5.295 MB / 0.6458 GB, free: 10.7 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.5654, allocations: 8 kB / 0.6459 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.5654, allocations: 7.953 kB / 0.6459 GB, free: 10.69 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006016/0.5714, allocations: 1.887 MB / 0.6477 GB, free: 8.785 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/0.5731, allocations: 434.9 kB / 0.6481 GB, free: 8.371 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03023/0.6033, allocations: 22.13 MB / 0.6697 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003725/0.6071, allocations: 323.5 kB / 0.67 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002799/0.6074, allocations: 67.97 kB / 0.6701 GB, free: 0.9141 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.001354/0.6088, allocations: 460.3 kB / 0.6705 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004066/0.6092, allocations: 177.9 kB / 0.6707 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01592/0.6251, allocations: 5.355 MB / 0.6759 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.6252, allocations: 12 kB / 0.676 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.508e-05/0.6252, allocations: 20 kB / 0.676 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.6252, allocations: 7.969 kB / 0.676 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01477/0.64, allocations: 7.445 MB / 0.6833 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/0.6401, allocations: 4.031 kB / 0.6833 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/0.6415, allocations: 363.4 kB / 0.6836 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00526/0.6468, allocations: 1.698 MB / 0.6853 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001404/0.6469, allocations: 43.97 kB / 0.6853 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0249/0.6718, allocations: 21.35 MB / 0.7062 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.6719, allocations: 4 kB / 0.7062 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01122/0.6831, allocations: 4.905 MB / 0.7109 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/0.6843, allocations: 497.5 kB / 0.7114 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005324/0.6848, allocations: 32 kB / 0.7115 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002158/0.687, allocations: 335.4 kB / 0.7118 GB, free: 5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004807/0.6875, allocations: 149 kB / 0.7119 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001602/0.6877, allocations: 55.95 kB / 0.712 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001338/0.689, allocations: 0.7743 MB / 0.7127 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.1e-07/0.689, allocations: 0 / 0.7127 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002533/0.6916, allocations: 0.6562 MB / 0.7134 GB, free: 3.371 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.01119/0.7028, allocations: 5.496 MB / 0.7187 GB, free: 13.78 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01024/0.713, allocations: 5.185 MB / 0.7238 GB, free: 8.496 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.7131, allocations: 0 / 0.7238 GB, free: 8.496 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00639/0.7195, allocations: 3.371 MB / 0.7271 GB, free: 5.027 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003087/0.7226, allocations: 0.5229 MB / 0.7276 GB, free: 4.512 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0331/0.7557, allocations: 16.15 MB / 0.7434 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001647/0.7574, allocations: 1.568 MB / 0.7449 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001792/0.7592, allocations: 386.4 kB / 0.7453 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009815/0.7602, allocations: 0.6593 MB / 0.7459 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of SimCode: time 8.11e-07/0.7602, allocations: 0 / 0.7459 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08836/0.8486, allocations: 56.13 MB / 0.8007 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/0.8488, allocations: 229.7 kB / 0.8009 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.802/3.651, allocations: 0 / 0.8009 GB, free: 9.48 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: