Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.747/1.747, allocations: 289.9 MB / 297.4 MB, free: 6.359 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.001155/0.001155, allocations: 184.8 kB / 366.7 MB, free: 1.656 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.695/1.695, allocations: 205.3 MB / 0.626 GB, free: 7.184 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.0009006/0.0009006, allocations: 90.77 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.194e-05/2.176e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.669/0.669, allocations: 116.3 MB / 0.9734 GB, free: 76.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2202/0.8893, allocations: 165.9 MB / 1.135 GB, free: 156 kB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/0.8896, allocations: 93.34 kB / 1.135 GB, free: 64 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.9102/1.8, allocations: 150.7 MB / 1.283 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.955e-06/1.8, allocations: 0 / 1.283 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004828/1.8, allocations: 85.72 kB / 1.283 GB, free: 186.8 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.01213/1.813, allocations: 2.895 MB / 1.286 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/1.813, allocations: 9.312 kB / 1.286 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008785/1.821, allocations: 0.9778 MB / 1.286 GB, free: 185.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007772/1.829, allocations: 2.269 MB / 1.289 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002525/1.83, allocations: 106.3 kB / 1.289 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001733/1.831, allocations: 184.5 kB / 1.289 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008787/1.84, allocations: 3.636 MB / 1.293 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0139/1.854, allocations: 5.156 MB / 1.298 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001063/1.854, allocations: 12.84 kB / 1.298 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004136/1.855, allocations: 12.59 kB / 1.298 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006738/1.855, allocations: 325.1 kB / 1.298 GB, free: 183.8 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.03076/1.886, allocations: 28.37 MB / 1.326 GB, free: 164.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002195/1.888, allocations: 1.409 MB / 1.327 GB, free: 164.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001867/1.89, allocations: 1.463 MB / 1.328 GB, free: 164.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-05/1.89, allocations: 26.03 kB / 1.328 GB, free: 164.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/1.89, allocations: 47.42 kB / 1.328 GB, free: 164.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=110): time 3.557e-06/1.89, allocations: 0 / 1.328 GB, free: 164.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=179): time 0.03242/1.923, allocations: 13.55 MB / 1.342 GB, free: 160.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/1.923, allocations: 71.75 kB / 1.342 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/1.924, allocations: 1.039 MB / 1.343 GB, free: 160.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002579/1.924, allocations: 25.7 kB / 1.343 GB, free: 160.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000591/1.925, allocations: 1.521 MB / 1.344 GB, free: 159.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004828/1.926, allocations: 0.5884 MB / 1.345 GB, free: 158.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/1.926, allocations: 0 / 1.345 GB, free: 158.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.474e-05/1.926, allocations: 381.6 kB / 1.345 GB, free: 158.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001824/1.928, allocations: 1.76 MB / 1.347 GB, free: 157.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001993/1.93, allocations: 2.241 MB / 1.349 GB, free: 156.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003175/1.933, allocations: 2.273 MB / 1.351 GB, free: 155.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/1.933, allocations: 8 kB / 1.351 GB, free: 155.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01221/1.945, allocations: 7.413 MB / 1.359 GB, free: 153.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/1.945, allocations: 11.62 kB / 1.359 GB, free: 153.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/1.945, allocations: 15.53 kB / 1.359 GB, free: 153.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0105/1.956, allocations: 4.053 MB / 1.363 GB, free: 152.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/1.957, allocations: 294.5 kB / 1.363 GB, free: 152.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02483/1.982, allocations: 19.71 MB / 1.382 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002363/1.984, allocations: 108.1 kB / 1.382 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003455/1.984, allocations: 178.2 kB / 1.382 GB, free: 142.7 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.0004563/1.985, allocations: 143.5 kB / 1.383 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01185/1.997, allocations: 7.055 MB / 1.389 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004452/1.997, allocations: 187 kB / 1.39 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01261/2.01, allocations: 7.403 MB / 1.397 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/2.01, allocations: 20 kB / 1.397 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/2.01, allocations: 12 kB / 1.397 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.807e-05/2.01, allocations: 17.75 kB / 1.397 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01775/2.028, allocations: 11.38 MB / 1.408 GB, free: 129 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/2.028, allocations: 4 kB / 1.408 GB, free: 129 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006902/2.028, allocations: 183 kB / 1.408 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01054/2.039, allocations: 3.972 MB / 1.412 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002658/2.039, allocations: 57.48 kB / 1.412 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02295/2.062, allocations: 19.3 MB / 1.431 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/2.062, allocations: 8 kB / 1.431 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01197/2.074, allocations: 7.665 MB / 1.438 GB, free: 97.48 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/2.076, allocations: 0.6938 MB / 1.439 GB, free: 96.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004173/2.076, allocations: 11.98 kB / 1.439 GB, free: 96.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/2.077, allocations: 108.9 kB / 1.439 GB, free: 96.65 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004741/2.078, allocations: 173 kB / 1.439 GB, free: 96.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002283/2.078, allocations: 155.9 kB / 1.44 GB, free: 96.33 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009512/2.079, allocations: 0.7839 MB / 1.44 GB, free: 95.55 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.1e-07/2.079, allocations: 0 / 1.44 GB, free: 95.55 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003222/2.082, allocations: 0.832 MB / 1.441 GB, free: 94.72 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.01391/2.096, allocations: 10.92 MB / 1.452 GB, free: 83.56 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008665/2.105, allocations: 5.672 MB / 1.457 GB, free: 77.87 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.004e-06/2.105, allocations: 4.062 kB / 1.457 GB, free: 77.87 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.006139/2.111, allocations: 3.543 MB / 1.461 GB, free: 74.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/2.113, allocations: 418.2 kB / 1.461 GB, free: 73.91 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009964/2.123, allocations: 6.512 MB / 1.468 GB, free: 67.26 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00217/2.126, allocations: 2.742 MB / 1.47 GB, free: 64.48 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001043/2.127, allocations: 373.9 kB / 1.471 GB, free: 64.12 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/2.128, allocations: 1.215 MB / 1.472 GB, free: 62.91 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/2.128, allocations: 0 / 1.472 GB, free: 62.91 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09832/2.226, allocations: 71.72 MB / 1.542 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/2.226, allocations: 174.3 kB / 1.542 GB, free: 8.195 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.457/5.683, allocations: 0 / 1.542 GB, free: 8.195 MB / 0.8698 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)