Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.516/2.516, allocations: 284.9 MB / 292.4 MB, free: 10.56 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.001481/0.001481, allocations: 180.9 kB / 360.6 MB, free: 7.32 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.083/2.083, allocations: 205.3 MB / 0.6191 GB, free: 12.22 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.001053/0.001052, allocations: 80.38 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.695e-05/2.694e-05, allocations: 4 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7955/0.7956, allocations: 115.3 MB / 0.9634 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2774/1.073, allocations: 167.3 MB / 1.127 GB, free: 5.105 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003712/1.073, allocations: 92.56 kB / 1.127 GB, free: 5.016 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.2869/1.36, allocations: 62.24 MB / 1.188 GB, free: 6.488 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.134e-06/1.36, allocations: 0 / 1.188 GB, free: 6.488 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001464/1.361, allocations: 39.98 kB / 1.188 GB, free: 6.449 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.006596/1.367, allocations: 1.612 MB / 1.189 GB, free: 4.785 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/1.367, allocations: 8.031 kB / 1.189 GB, free: 4.777 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005009/1.372, allocations: 489.2 kB / 1.19 GB, free: 4.297 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0045/1.377, allocations: 1.286 MB / 1.191 GB, free: 2.965 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/1.377, allocations: 48 kB / 1.191 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007912/1.378, allocations: 84 kB / 1.191 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007201/1.385, allocations: 2.267 MB / 1.193 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00936/1.394, allocations: 2.889 MB / 1.196 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.478e-05/1.395, allocations: 0 / 1.196 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003132/1.395, allocations: 4 kB / 1.196 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001212/1.396, allocations: 182.9 kB / 1.196 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04049/1.437, allocations: 14.49 MB / 1.211 GB, free: 14.03 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006216/1.443, allocations: 1.759 MB / 1.212 GB, free: 12.26 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00624/1.449, allocations: 1.497 MB / 1.214 GB, free: 10.76 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001682/1.449, allocations: 25.28 kB / 1.214 GB, free: 10.73 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.173e-05/1.45, allocations: 43.88 kB / 1.214 GB, free: 10.68 MB / 0.823 GB Notification: Performance of pre-optimization done (n=104): time 6.352e-06/1.45, allocations: 0 / 1.214 GB, free: 10.68 MB / 0.823 GB Notification: Performance of matching and sorting (n=183): time 0.07958/1.529, allocations: 14.27 MB / 1.228 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/1.529, allocations: 69.41 kB / 1.228 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002423/1.532, allocations: 0.9848 MB / 1.229 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0006485/1.532, allocations: 29.7 kB / 1.229 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008462/1.533, allocations: 0.7768 MB / 1.23 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.00125/1.535, allocations: 0.5965 MB / 1.23 GB, free: 9.895 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004365/1.535, allocations: 0 / 1.23 GB, free: 9.895 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002442/1.535, allocations: 389.9 kB / 1.23 GB, free: 9.508 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005338/1.541, allocations: 2.054 MB / 1.232 GB, free: 7.453 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005973/1.547, allocations: 2.369 MB / 1.235 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/1.557, allocations: 2.762 MB / 1.237 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.611e-05/1.557, allocations: 4 kB / 1.237 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.03395/1.591, allocations: 8.485 MB / 1.246 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.922e-05/1.591, allocations: 12 kB / 1.246 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.617e-05/1.591, allocations: 8.562 kB / 1.246 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0286/1.62, allocations: 4.952 MB / 1.251 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001996/1.622, allocations: 247.6 kB / 1.251 GB, free: 4.469 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7066/2.329, allocations: 22.95 MB / 1.273 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004073/2.333, allocations: 86.73 kB / 1.273 GB, free: 214.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001297/2.334, allocations: 264.4 kB / 1.274 GB, free: 214.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * 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: 2 {(8,100.0%) 16,(8,100.0%) 38} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of prepare postOptimizeDAE: time 0.0009805/2.335, allocations: 135 kB / 1.274 GB, free: 214.4 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02826/2.363, allocations: 7.62 MB / 1.281 GB, free: 212.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001093/2.365, allocations: 135 kB / 1.281 GB, free: 212.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02971/2.394, allocations: 8.046 MB / 1.289 GB, free: 209.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.842e-05/2.394, allocations: 18.8 kB / 1.289 GB, free: 209.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.12e-05/2.394, allocations: 14.69 kB / 1.289 GB, free: 209.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.127e-05/2.395, allocations: 9.188 kB / 1.289 GB, free: 209.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04206/2.437, allocations: 12.41 MB / 1.301 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.562e-05/2.437, allocations: 5.719 kB / 1.301 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009544/2.438, allocations: 118.7 kB / 1.301 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02603/2.464, allocations: 4.704 MB / 1.306 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006266/2.464, allocations: 61.25 kB / 1.306 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04657/2.511, allocations: 19.26 MB / 1.325 GB, free: 196.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-05/2.511, allocations: 5.25 kB / 1.325 GB, free: 196.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0254/2.536, allocations: 7.667 MB / 1.332 GB, free: 193.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002787/2.539, allocations: 0.8256 MB / 1.333 GB, free: 193.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007559/2.54, allocations: 7.594 kB / 1.333 GB, free: 193.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002418/2.542, allocations: 60.22 kB / 1.333 GB, free: 193.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000817/2.543, allocations: 187.8 kB / 1.333 GB, free: 193.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004719/2.544, allocations: 179.8 kB / 1.334 GB, free: 193.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001501/2.545, allocations: 0.7617 MB / 1.334 GB, free: 192.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.92e-07/2.545, allocations: 3.562 kB / 1.334 GB, free: 192.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0045/2.55, allocations: 0.6891 MB / 1.335 GB, free: 192.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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: 2 {(8,100.0%) 8,(14,76.0%) 24} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.03199/2.582, allocations: 9.4 MB / 1.344 GB, free: 188.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01665/2.599, allocations: 5.676 MB / 1.35 GB, free: 186.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/2.599, allocations: 0 / 1.35 GB, free: 186.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0119/2.611, allocations: 3.382 MB / 1.353 GB, free: 185.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002203/2.613, allocations: 161.8 kB / 1.353 GB, free: 185.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/2.625, allocations: 4.725 MB / 1.358 GB, free: 181 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001979/2.627, allocations: 1.828 MB / 1.36 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001906/2.629, allocations: 414.1 kB / 1.36 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0015/2.631, allocations: 0.6685 MB / 1.361 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.673e-06/2.631, allocations: 0 / 1.361 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1777/2.809, allocations: 75.52 MB / 1.434 GB, free: 109.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002393/2.809, allocations: 182.2 kB / 1.435 GB, free: 108.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.969/6.778, allocations: 1.969 kB / 1.435 GB, free: 108.9 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)