Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.667/1.667, allocations: 285.6 MB / 293.1 MB, free: 10.16 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.00113/0.00113, allocations: 184.9 kB / 361.4 MB, free: 6.801 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.61/1.61, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0009492/0.0009492, allocations: 91.45 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.471e-05/2.481e-05, allocations: 4 kB / 0.8518 GB, free: 2.605 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.657/0.657, allocations: 115.3 MB / 0.9645 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2676/0.9247, allocations: 165.7 MB / 1.126 GB, free: 5.961 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003492/0.9251, allocations: 94.47 kB / 1.126 GB, free: 5.871 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.8707/1.796, allocations: 138.2 MB / 1.261 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.533e-06/1.796, allocations: 0 / 1.261 GB, free: 181.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004665/1.796, allocations: 93.52 kB / 1.261 GB, free: 181.5 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01793/1.814, allocations: 3.327 MB / 1.265 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.073e-05/1.814, allocations: 12.12 kB / 1.265 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/1.826, allocations: 1.031 MB / 1.266 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009063/1.835, allocations: 2.616 MB / 1.268 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004801/1.835, allocations: 118.5 kB / 1.268 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002384/1.838, allocations: 210.6 kB / 1.269 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01493/1.853, allocations: 4.408 MB / 1.273 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02395/1.877, allocations: 6.085 MB / 1.279 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000259/1.877, allocations: 18.94 kB / 1.279 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002174/1.879, allocations: 10.25 kB / 1.279 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001413/1.88, allocations: 383.5 kB / 1.279 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0582/1.939, allocations: 31.36 MB / 1.31 GB, free: 158.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003961/1.943, allocations: 2.104 MB / 1.312 GB, free: 158.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003967/1.947, allocations: 2.161 MB / 1.314 GB, free: 158.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/1.947, allocations: 26.11 kB / 1.314 GB, free: 158.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.627e-05/1.947, allocations: 48.25 kB / 1.314 GB, free: 158.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=146): time 5.921e-06/1.947, allocations: 0 / 1.314 GB, free: 158.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=251): time 0.06321/2.01, allocations: 21.95 MB / 1.336 GB, free: 155 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/2.01, allocations: 80.72 kB / 1.336 GB, free: 155 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002651/2.013, allocations: 1.245 MB / 1.337 GB, free: 154.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0006888/2.014, allocations: 26.92 kB / 1.337 GB, free: 154.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.00106/2.015, allocations: 1.727 MB / 1.339 GB, free: 153.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.00126/2.016, allocations: 0.8196 MB / 1.339 GB, free: 152.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004518/2.016, allocations: 0 / 1.339 GB, free: 152.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001588/2.017, allocations: 411.2 kB / 1.34 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00329/2.02, allocations: 2.71 MB / 1.342 GB, free: 151.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00358/2.024, allocations: 3.23 MB / 1.346 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005037/2.029, allocations: 3.375 MB / 1.349 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.71e-05/2.029, allocations: 7.812 kB / 1.349 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.02333/2.052, allocations: 12 MB / 1.361 GB, free: 145 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.579e-05/2.052, allocations: 11.59 kB / 1.361 GB, free: 145 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.015e-05/2.052, allocations: 15.66 kB / 1.361 GB, free: 145 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02256/2.075, allocations: 7.884 MB / 1.368 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/2.076, allocations: 294.8 kB / 1.369 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04726/2.123, allocations: 31.32 MB / 1.399 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003384/2.127, allocations: 118.1 kB / 1.399 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001082/2.128, allocations: 272 kB / 1.4 GB, free: 129.4 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 {(19,68.1%) 19,(12,50.0%) 18,(12,53.5%) 10} * Non-linear torn systems: 3 {20 18,12 18,12 10} Notification: Performance of prepare postOptimizeDAE: time 0.001456/2.129, allocations: 153.8 kB / 1.4 GB, free: 129.3 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02276/2.152, allocations: 11.57 MB / 1.411 GB, free: 120.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001262/2.153, allocations: 229.3 kB / 1.411 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02461/2.178, allocations: 12.16 MB / 1.423 GB, free: 111.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.558e-05/2.178, allocations: 24 kB / 1.423 GB, free: 111.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.582e-05/2.178, allocations: 20 kB / 1.423 GB, free: 111.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.912e-05/2.178, allocations: 18.48 kB / 1.423 GB, free: 111.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03702/2.215, allocations: 17.6 MB / 1.44 GB, free: 95.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.608e-05/2.215, allocations: 8 kB / 1.44 GB, free: 95.43 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007731/2.216, allocations: 167.7 kB / 1.44 GB, free: 95.26 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02144/2.238, allocations: 7.81 MB / 1.448 GB, free: 87.43 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005967/2.238, allocations: 83.86 kB / 1.448 GB, free: 87.35 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04332/2.282, allocations: 30.9 MB / 1.478 GB, free: 56.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.046e-05/2.282, allocations: 11.94 kB / 1.478 GB, free: 56.01 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02242/2.304, allocations: 12.29 MB / 1.49 GB, free: 43.43 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002205/2.306, allocations: 0.9861 MB / 1.491 GB, free: 42.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001023/2.307, allocations: 11.98 kB / 1.491 GB, free: 42.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002378/2.31, allocations: 111.7 kB / 1.491 GB, free: 42.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009229/2.311, allocations: 269.4 kB / 1.492 GB, free: 42.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005641/2.311, allocations: 240.7 kB / 1.492 GB, free: 41.81 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001493/2.313, allocations: 0.9386 MB / 1.493 GB, free: 40.88 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.61e-07/2.313, allocations: 0 / 1.493 GB, free: 40.88 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004944/2.318, allocations: 1.133 MB / 1.494 GB, free: 39.75 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 {(12,53.5%) 10,(12,50.0%) 18,(19,54.8%) 19} * Non-linear torn systems: 3 {12 10,12 18,20 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.02706/2.345, allocations: 16.36 MB / 1.51 GB, free: 23.15 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01721/2.362, allocations: 9.034 MB / 1.519 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/2.362, allocations: 5.125 kB / 1.519 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01358/2.376, allocations: 5.821 MB / 1.524 GB, free: 8.254 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003558/2.379, allocations: 433.4 kB / 1.525 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/2.398, allocations: 8.349 MB / 1.533 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004863/2.403, allocations: 3.192 MB / 1.536 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001469/2.405, allocations: 372.8 kB / 1.536 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002253/2.407, allocations: 1.444 MB / 1.538 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of SimCode: time 2.881e-05/2.407, allocations: 0 / 1.538 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7199/3.127, allocations: 96.69 MB / 1.632 GB, free: 243.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001852/3.127, allocations: 184.7 kB / 1.632 GB, free: 243.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.105/7.232, allocations: 0 / 1.632 GB, free: 243.1 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)