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_L_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_L_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.505/1.505, allocations: 249.3 MB / 261.8 MB, free: 5.871 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.001006/0.001006, allocations: 180.9 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.65/1.65, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0009242/0.0009241, allocations: 86.42 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.078e-05/4.088e-05, allocations: 4 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2397, allocations: 106.3 MB / 0.8919 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8992/1.139, allocations: 164.8 MB / 1.053 GB, free: 3.703 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000374/1.14, allocations: 96.05 kB / 1.053 GB, free: 3.648 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.4893/1.629, allocations: 199.2 MB / 1.247 GB, free: 0.8047 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.876e-06/1.629, allocations: 0 / 1.247 GB, free: 0.8047 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004413/1.629, allocations: 135.9 kB / 1.248 GB, free: 0.6719 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01681/1.646, allocations: 4.454 MB / 1.252 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/1.646, allocations: 8.031 kB / 1.252 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003606/1.65, allocations: 0.8049 MB / 1.253 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008044/1.658, allocations: 1.047 MB / 1.254 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01053/1.669, allocations: 3.399 MB / 1.257 GB, free: 6.816 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005231/1.669, allocations: 411.1 kB / 1.257 GB, free: 6.414 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002691/1.672, allocations: 0.5466 MB / 1.258 GB, free: 5.867 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5761/2.248, allocations: 8.476 MB / 1.266 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003106/2.248, allocations: 29.39 kB / 1.266 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001372/2.25, allocations: 243 kB / 1.266 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004241/2.25, allocations: 314.1 kB / 1.267 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01551/2.266, allocations: 6.036 MB / 1.273 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05734/2.323, allocations: 40.11 MB / 1.312 GB, free: 170.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004189/2.327, allocations: 3.066 MB / 1.315 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00285/2.33, allocations: 1.959 MB / 1.317 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/2.33, allocations: 19.75 kB / 1.317 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/2.33, allocations: 55.56 kB / 1.317 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=179): time 5.169e-06/2.33, allocations: 0 / 1.317 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=182): time 0.01209/2.342, allocations: 6.031 MB / 1.323 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/2.343, allocations: 70.97 kB / 1.323 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002502/2.345, allocations: 1.287 MB / 1.324 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003314/2.345, allocations: 56.27 kB / 1.324 GB, free: 168 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001469/2.347, allocations: 2.249 MB / 1.326 GB, free: 167 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007069/2.348, allocations: 0.6239 MB / 1.327 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/2.348, allocations: 44.88 kB / 1.327 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001645/2.348, allocations: 396 kB / 1.327 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002114/2.35, allocations: 1.149 MB / 1.328 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002265/2.352, allocations: 1.818 MB / 1.33 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001803/2.354, allocations: 1.497 MB / 1.332 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.5e-05/2.354, allocations: 7.562 kB / 1.332 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.00716/2.361, allocations: 4.496 MB / 1.336 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.386e-05/2.361, allocations: 16.91 kB / 1.336 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.361e-05/2.361, allocations: 24.56 kB / 1.336 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003569/2.365, allocations: 1.568 MB / 1.338 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/2.367, allocations: 356 kB / 1.338 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01928/2.386, allocations: 17.01 MB / 1.355 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002278/2.388, allocations: 115.8 kB / 1.355 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/2.389, allocations: 90.53 kB / 1.355 GB, free: 158.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,30.6%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004086/2.389, allocations: 237.1 kB / 1.355 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003676/2.389, allocations: 223.5 kB / 1.355 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006284/2.396, allocations: 4.039 MB / 1.359 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/2.396, allocations: 18.75 kB / 1.359 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.816e-05/2.396, allocations: 14.41 kB / 1.359 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.906e-05/2.396, allocations: 14.25 kB / 1.359 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01467/2.41, allocations: 9.381 MB / 1.368 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/2.41, allocations: 6.312 kB / 1.368 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008061/2.411, allocations: 185.2 kB / 1.369 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002958/2.414, allocations: 1.348 MB / 1.37 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/2.414, allocations: 31.31 kB / 1.37 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01639/2.431, allocations: 15.87 MB / 1.385 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/2.431, allocations: 10.12 kB / 1.385 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006381/2.437, allocations: 4.316 MB / 1.39 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001343/2.439, allocations: 0.5361 MB / 1.39 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003054/2.439, allocations: 31 kB / 1.39 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009652/2.44, allocations: 86.59 kB / 1.39 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004778/2.44, allocations: 167.8 kB / 1.39 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/2.44, allocations: 50.81 kB / 1.39 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001199/2.442, allocations: 0.9691 MB / 1.391 GB, free: 140 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/2.442, allocations: 0 / 1.391 GB, free: 140 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003605/2.445, allocations: 1.03 MB / 1.392 GB, free: 139.9 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 (85): * Single equations (assignments): 81 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005998/2.451, allocations: 6.071 MB / 1.398 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005917/2.457, allocations: 4.183 MB / 1.402 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/2.457, allocations: 3.609 kB / 1.402 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003673/2.461, allocations: 2.613 MB / 1.405 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003294/2.464, allocations: 0.6828 MB / 1.406 GB, free: 132.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01593/2.48, allocations: 8.266 MB / 1.414 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003423/2.484, allocations: 3.667 MB / 1.417 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0016/2.485, allocations: 464.8 kB / 1.418 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001638/2.487, allocations: 1.791 MB / 1.42 GB, free: 127 MB / 0.8698 GB Notification: Performance of SimCode: time 1.162e-06/2.487, allocations: 4 kB / 1.42 GB, free: 127 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1095/2.596, allocations: 71.82 MB / 1.49 GB, free: 94.52 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/2.597, allocations: 210.2 kB / 1.49 GB, free: 94.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.035/6.632, allocations: 4 kB / 1.49 GB, free: 94.29 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)