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_RL.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_RL,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.613/2.613, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.00141/0.00141, allocations: 192.9 kB / 360.6 MB, free: 7.27 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.04/2.04, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001082/0.001082, allocations: 85.78 kB / 0.7321 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.616e-05/2.626e-05, allocations: 4 kB / 0.8509 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8579/0.858, allocations: 115.2 MB / 0.9634 GB, free: 78.56 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2779/1.136, allocations: 164.7 MB / 1.124 GB, free: 7.785 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003556/1.136, allocations: 96.39 kB / 1.124 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.5372/1.674, allocations: 127.8 MB / 1.249 GB, free: 6.875 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.284e-06/1.674, allocations: 0 / 1.249 GB, free: 6.875 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003166/1.674, allocations: 91.92 kB / 1.249 GB, free: 6.785 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01159/1.686, allocations: 2.878 MB / 1.252 GB, free: 3.852 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/1.686, allocations: 12.03 kB / 1.252 GB, free: 3.84 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01006/1.696, allocations: 0.971 MB / 1.253 GB, free: 2.863 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008179/1.704, allocations: 2.26 MB / 1.255 GB, free: 0.5469 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002299/1.704, allocations: 104 kB / 1.255 GB, free: 456 kB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001543/1.706, allocations: 180 kB / 1.256 GB, free: 276 kB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.6746/2.38, allocations: 3.638 MB / 1.259 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01791/2.398, allocations: 5.151 MB / 1.264 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001546/2.399, allocations: 17.09 kB / 1.264 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008716/2.399, allocations: 8.281 kB / 1.264 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009369/2.4, allocations: 325.7 kB / 1.264 GB, free: 184.5 MB / 0.8542 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04753/2.448, allocations: 28.36 MB / 1.292 GB, free: 165.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003835/2.452, allocations: 1.419 MB / 1.294 GB, free: 165.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003584/2.456, allocations: 1.457 MB / 1.295 GB, free: 165.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/2.456, allocations: 19.03 kB / 1.295 GB, free: 165.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/2.456, allocations: 49.67 kB / 1.295 GB, free: 165.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=110): time 5.31e-06/2.456, allocations: 0 / 1.295 GB, free: 165.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=179): time 0.06766/2.523, allocations: 13.55 MB / 1.308 GB, free: 165.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/2.524, allocations: 75.47 kB / 1.308 GB, free: 165 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002398/2.526, allocations: 1.042 MB / 1.309 GB, free: 164.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0005786/2.527, allocations: 27.14 kB / 1.309 GB, free: 164.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001447/2.528, allocations: 1.527 MB / 1.311 GB, free: 164.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001179/2.529, allocations: 0.583 MB / 1.311 GB, free: 163.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003232/2.53, allocations: 0 / 1.311 GB, free: 163.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001824/2.53, allocations: 383.9 kB / 1.312 GB, free: 163.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005147/2.535, allocations: 1.754 MB / 1.313 GB, free: 163.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005091/2.54, allocations: 2.243 MB / 1.316 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00734/2.548, allocations: 2.275 MB / 1.318 GB, free: 162 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.701e-05/2.548, allocations: 6.781 kB / 1.318 GB, free: 162 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.02699/2.575, allocations: 7.404 MB / 1.325 GB, free: 159.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/2.575, allocations: 15.22 kB / 1.325 GB, free: 159.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.854e-05/2.575, allocations: 15.62 kB / 1.325 GB, free: 159.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02146/2.596, allocations: 4.063 MB / 1.329 GB, free: 159.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002163/2.598, allocations: 287.5 kB / 1.329 GB, free: 159.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04386/2.642, allocations: 19.71 MB / 1.349 GB, free: 149 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00338/2.646, allocations: 105.2 kB / 1.349 GB, free: 149 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007441/2.647, allocations: 181.7 kB / 1.349 GB, free: 149 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 6} * Non-linear torn systems: 3 {12 12,6 12,6 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006933/2.647, allocations: 146.1 kB / 1.349 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02316/2.67, allocations: 7.05 MB / 1.356 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/2.672, allocations: 189 kB / 1.356 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02416/2.696, allocations: 7.41 MB / 1.363 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.875e-05/2.696, allocations: 22.98 kB / 1.363 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.735e-05/2.696, allocations: 9.719 kB / 1.363 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.024e-05/2.696, allocations: 12.89 kB / 1.363 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03503/2.731, allocations: 11.38 MB / 1.375 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.506e-05/2.731, allocations: 7.281 kB / 1.375 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001337/2.732, allocations: 175.1 kB / 1.375 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02074/2.753, allocations: 3.984 MB / 1.379 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000556/2.754, allocations: 46.81 kB / 1.379 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04258/2.796, allocations: 19.31 MB / 1.397 GB, free: 130 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.42e-05/2.796, allocations: 11.09 kB / 1.398 GB, free: 130 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02291/2.819, allocations: 7.668 MB / 1.405 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002456/2.822, allocations: 0.6955 MB / 1.406 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007802/2.823, allocations: 12 kB / 1.406 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002803/2.825, allocations: 100.6 kB / 1.406 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009064/2.826, allocations: 182.5 kB / 1.406 GB, free: 123.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004232/2.827, allocations: 147.6 kB / 1.406 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00153/2.828, allocations: 0.7908 MB / 1.407 GB, free: 123.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.71e-07/2.828, allocations: 0.6562 kB / 1.407 GB, free: 123.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004958/2.833, allocations: 0.8277 MB / 1.408 GB, free: 122.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 3 {6 6,6 12,12 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.02738/2.861, allocations: 10.91 MB / 1.418 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01661/2.877, allocations: 5.667 MB / 1.424 GB, free: 108.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/2.878, allocations: 0.875 kB / 1.424 GB, free: 108.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01246/2.89, allocations: 3.554 MB / 1.427 GB, free: 105.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004015/2.894, allocations: 411.5 kB / 1.428 GB, free: 104.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01974/2.914, allocations: 6.512 MB / 1.434 GB, free: 99.09 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005809/2.92, allocations: 2.74 MB / 1.437 GB, free: 96.93 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00198/2.922, allocations: 370 kB / 1.437 GB, free: 96.69 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002524/2.924, allocations: 1.22 MB / 1.438 GB, free: 95.56 MB / 0.8542 GB Notification: Performance of SimCode: time 1.392e-06/2.924, allocations: 0 / 1.438 GB, free: 95.56 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2114/3.136, allocations: 71.63 MB / 1.508 GB, free: 25.57 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002825/3.136, allocations: 174.1 kB / 1.508 GB, free: 25.38 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.458/7.594, allocations: 0 / 1.508 GB, free: 25.38 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)