Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.815/1.815, allocations: 289.7 MB / 302.3 MB, free: 2.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001225/0.001225, allocations: 184.7 kB / 371.6 MB, free: 3.379 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.917/1.917, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 87.39 kB / 0.745 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.655e-05/4.685e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.308, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8652/1.173, allocations: 188.9 MB / 1.164 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/1.174, allocations: 96.62 kB / 1.164 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.07776/1.251, allocations: 31.78 MB / 1.195 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.823e-06/1.251, allocations: 0 / 1.195 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.339e-05/1.252, allocations: 23.98 kB / 1.195 GB, free: 15.69 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002007/1.254, allocations: 0.8124 MB / 1.196 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/1.254, allocations: 8.031 kB / 1.196 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002441/1.254, allocations: 101.9 kB / 1.196 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/1.255, allocations: 200.6 kB / 1.197 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/1.257, allocations: 496.6 kB / 1.197 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.894e-05/1.257, allocations: 39.36 kB / 1.197 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002002/1.257, allocations: 61.98 kB / 1.197 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/1.258, allocations: 0.8644 MB / 1.198 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.403e-05/1.258, allocations: 7.938 kB / 1.198 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.638e-05/1.258, allocations: 22.44 kB / 1.198 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.904e-05/1.258, allocations: 44.22 kB / 1.198 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009131/1.259, allocations: 0.5549 MB / 1.199 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004862/1.264, allocations: 4.596 MB / 1.203 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000444/1.265, allocations: 293.7 kB / 1.203 GB, free: 8.137 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/1.265, allocations: 226.5 kB / 1.204 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/1.265, allocations: 0 / 1.204 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/1.265, allocations: 38.25 kB / 1.204 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=33): time 1.763e-06/1.265, allocations: 0 / 1.204 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of matching and sorting (n=40): time 0.0047/1.27, allocations: 2.202 MB / 1.206 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/1.27, allocations: 55.41 kB / 1.206 GB, free: 6.055 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004913/1.27, allocations: 399.3 kB / 1.206 GB, free: 5.734 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/1.27, allocations: 33.2 kB / 1.206 GB, free: 5.699 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/1.271, allocations: 331.7 kB / 1.207 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/1.271, allocations: 146.2 kB / 1.207 GB, free: 5.324 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/1.271, allocations: 16.88 kB / 1.207 GB, free: 5.316 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.271, allocations: 363.5 kB / 1.207 GB, free: 4.973 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003413/1.271, allocations: 232.9 kB / 1.207 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004269/1.272, allocations: 382.6 kB / 1.208 GB, free: 4.477 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004893/1.272, allocations: 282.7 kB / 1.208 GB, free: 4.289 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/1.272, allocations: 4 kB / 1.208 GB, free: 4.285 MB / 0.7761 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001617/1.274, allocations: 0.8867 MB / 1.209 GB, free: 3.602 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/1.274, allocations: 11.98 kB / 1.209 GB, free: 3.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.274, allocations: 4 kB / 1.209 GB, free: 3.586 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007779/1.275, allocations: 223.8 kB / 1.209 GB, free: 3.398 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000508/1.275, allocations: 111.1 kB / 1.209 GB, free: 3.293 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005005/1.28, allocations: 4.927 MB / 1.214 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005322/1.281, allocations: 31.09 kB / 1.214 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.795e-05/1.281, allocations: 23.12 kB / 1.214 GB, free: 14.42 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000172/1.281, allocations: 140 kB / 1.214 GB, free: 14.29 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/1.281, allocations: 59.41 kB / 1.214 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/1.283, allocations: 0.7598 MB / 1.215 GB, free: 13.69 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/1.283, allocations: 8 kB / 1.215 GB, free: 13.68 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.283, allocations: 0 / 1.215 GB, free: 13.68 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.283, allocations: 3.984 kB / 1.215 GB, free: 13.68 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002629/1.285, allocations: 1.47 MB / 1.216 GB, free: 12.45 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/1.286, allocations: 4 kB / 1.216 GB, free: 12.45 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004002/1.286, allocations: 71.66 kB / 1.216 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007133/1.287, allocations: 208 kB / 1.217 GB, free: 12.21 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/1.287, allocations: 7.375 kB / 1.217 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004899/1.292, allocations: 4.862 MB / 1.221 GB, free: 7.402 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/1.292, allocations: 0 / 1.221 GB, free: 7.402 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/1.294, allocations: 1.211 MB / 1.223 GB, free: 6.402 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003713/1.294, allocations: 169.8 kB / 1.223 GB, free: 6.234 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/1.294, allocations: 15.44 kB / 1.223 GB, free: 6.227 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003621/1.294, allocations: 23.03 kB / 1.223 GB, free: 6.207 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.414e-05/1.295, allocations: 42.53 kB / 1.223 GB, free: 6.172 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/1.295, allocations: 11.5 kB / 1.223 GB, free: 6.164 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003945/1.295, allocations: 314.2 kB / 1.223 GB, free: 5.926 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.7e-07/1.295, allocations: 0 / 1.223 GB, free: 5.926 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.000798/1.296, allocations: 170.1 kB / 1.223 GB, free: 5.773 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002475/1.298, allocations: 2.245 MB / 1.225 GB, free: 3.75 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001676/1.3, allocations: 0.9784 MB / 1.226 GB, free: 2.934 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/1.3, allocations: 4 kB / 1.226 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/1.301, allocations: 0.6744 MB / 1.227 GB, free: 2.316 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008686/1.302, allocations: 158.7 kB / 1.227 GB, free: 2.199 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/1.304, allocations: 1.127 MB / 1.228 GB, free: 1.145 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006362/1.305, allocations: 0.9686 MB / 1.229 GB, free: 168 kB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0004426/1.305, allocations: 107 kB / 1.229 GB, free: 60 kB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002816/1.306, allocations: 212.4 kB / 1.23 GB, free: 4 kB / 0.7917 GB Notification: Performance of SimCode: time 9.42e-07/1.306, allocations: 0 / 1.23 GB, free: 4 kB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03334/1.339, allocations: 13.27 MB / 1.243 GB, free: 2.996 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002593/1.339, allocations: 188.6 kB / 1.243 GB, free: 2.773 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.314/3.653, allocations: 0 / 1.243 GB, free: 2.773 MB / 0.8073 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)