Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.503/1.503, allocations: 249.3 MB / 261.8 MB, free: 5.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 184.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000895/0.0008949, allocations: 92.39 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.943e-05/3.946e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.21, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8433/1.053, allocations: 190 MB / 1.077 GB, free: 11.33 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004211/1.054, allocations: 100.2 kB / 1.078 GB, free: 11.27 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2882/1.342, allocations: 113.2 MB / 1.188 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.106e-06/1.342, allocations: 0 / 1.188 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001972/1.342, allocations: 79.92 kB / 1.188 GB, free: 14.56 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007865/1.35, allocations: 2.68 MB / 1.191 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/1.35, allocations: 8.031 kB / 1.191 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00144/1.352, allocations: 458.3 kB / 1.191 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00469/1.357, allocations: 0.6635 MB / 1.192 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005537/1.362, allocations: 2.06 MB / 1.194 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002185/1.362, allocations: 222 kB / 1.194 GB, free: 8.352 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009893/1.363, allocations: 300 kB / 1.194 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0107/1.374, allocations: 4.556 MB / 1.199 GB, free: 3.25 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.19e-05/1.374, allocations: 15.84 kB / 1.199 GB, free: 3.234 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003881/1.375, allocations: 132 kB / 1.199 GB, free: 3.105 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002064/1.375, allocations: 169.8 kB / 1.199 GB, free: 2.938 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007126/1.382, allocations: 3.345 MB / 1.202 GB, free: 15.58 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02728/1.409, allocations: 21.6 MB / 1.223 GB, free: 7.988 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/1.411, allocations: 1.269 MB / 1.225 GB, free: 6.703 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001454/1.413, allocations: 1.026 MB / 1.226 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.573e-05/1.413, allocations: 13 kB / 1.226 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/1.413, allocations: 47.55 kB / 1.226 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=107): time 3.557e-06/1.413, allocations: 0 / 1.226 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of matching and sorting (n=138): time 0.01907/1.432, allocations: 6.648 MB / 1.232 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/1.432, allocations: 72.66 kB / 1.232 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/1.434, allocations: 0.9575 MB / 1.233 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/1.434, allocations: 49.7 kB / 1.233 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009339/1.435, allocations: 1.3 MB / 1.235 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004536/1.435, allocations: 485.1 kB / 1.235 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.304e-05/1.435, allocations: 28 kB / 1.235 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000203/1.435, allocations: 373.9 kB / 1.235 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/1.437, allocations: 0.8551 MB / 1.236 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/1.438, allocations: 1.327 MB / 1.238 GB, free: 9.277 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/1.44, allocations: 1.102 MB / 1.239 GB, free: 8.172 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.495e-06/1.44, allocations: 4 kB / 1.239 GB, free: 8.168 MB / 0.8542 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.006173/1.446, allocations: 3.373 MB / 1.242 GB, free: 4.773 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/1.446, allocations: 9 kB / 1.242 GB, free: 4.766 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.064e-05/1.446, allocations: 23.92 kB / 1.242 GB, free: 4.742 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003117/1.449, allocations: 1.135 MB / 1.243 GB, free: 3.602 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/1.45, allocations: 275.5 kB / 1.243 GB, free: 3.332 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01685/1.467, allocations: 12.44 MB / 1.256 GB, free: 6.488 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/1.469, allocations: 95.91 kB / 1.256 GB, free: 6.395 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/1.469, allocations: 68 kB / 1.256 GB, free: 6.328 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003352/1.469, allocations: 200.5 kB / 1.256 GB, free: 6.125 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002564/1.47, allocations: 158.1 kB / 1.256 GB, free: 5.969 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005881/1.476, allocations: 3.091 MB / 1.259 GB, free: 2.855 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/1.476, allocations: 12 kB / 1.259 GB, free: 2.844 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/1.476, allocations: 12.38 kB / 1.259 GB, free: 2.832 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/1.476, allocations: 3.984 kB / 1.259 GB, free: 2.828 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5733/2.049, allocations: 6.096 MB / 1.265 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/2.049, allocations: 4.641 kB / 1.265 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007015/2.05, allocations: 151.7 kB / 1.265 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002846/2.053, allocations: 1.02 MB / 1.266 GB, free: 245.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001711/2.053, allocations: 32.73 kB / 1.266 GB, free: 245.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01692/2.07, allocations: 12.14 MB / 1.278 GB, free: 241.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.337e-06/2.07, allocations: 6.141 kB / 1.278 GB, free: 241.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005982/2.076, allocations: 3.306 MB / 1.281 GB, free: 240.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/2.077, allocations: 420.7 kB / 1.282 GB, free: 240.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/2.077, allocations: 30.88 kB / 1.282 GB, free: 240.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007706/2.078, allocations: 77.31 kB / 1.282 GB, free: 240.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004711/2.078, allocations: 123 kB / 1.282 GB, free: 240.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.899e-05/2.079, allocations: 39.02 kB / 1.282 GB, free: 240.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001168/2.08, allocations: 0.7306 MB / 1.283 GB, free: 240.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.332e-06/2.08, allocations: 0 / 1.283 GB, free: 240.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002619/2.082, allocations: 0.6777 MB / 1.283 GB, free: 240.5 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006045/2.088, allocations: 5.101 MB / 1.288 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005588/2.094, allocations: 3.012 MB / 1.291 GB, free: 237.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/2.094, allocations: 3.938 kB / 1.291 GB, free: 237.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00337/2.097, allocations: 1.906 MB / 1.293 GB, free: 237.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/2.1, allocations: 425.9 kB / 1.294 GB, free: 237.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/2.111, allocations: 5.098 MB / 1.298 GB, free: 236.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003028/2.115, allocations: 2.392 MB / 1.301 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001547/2.116, allocations: 348.3 kB / 1.301 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001168/2.117, allocations: 0.9951 MB / 1.302 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of SimCode: time 7.81e-07/2.117, allocations: 0.875 kB / 1.302 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08367/2.201, allocations: 48.73 MB / 1.35 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/2.201, allocations: 207.1 kB / 1.35 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.414/5.615, allocations: 6.453 kB / 1.35 GB, free: 233.5 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)