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.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,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.728/1.728, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001065/0.001065, allocations: 176.9 kB / 361.4 MB, free: 6.852 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.572/1.572, allocations: 205.3 MB / 0.62 GB, free: 11.65 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.0009078/0.0009078, allocations: 99.09 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.558e-05/3.564e-05, allocations: 4 kB / 0.8518 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6825/0.6825, allocations: 115.3 MB / 0.9645 GB, free: 78.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2261/0.9087, allocations: 164.8 MB / 1.125 GB, free: 6.922 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.909, allocations: 94.31 kB / 1.126 GB, free: 6.832 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.3238/1.233, allocations: 127.9 MB / 1.25 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.934e-06/1.233, allocations: 0 / 1.25 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002918/1.233, allocations: 79.98 kB / 1.25 GB, free: 5.902 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.008931/1.242, allocations: 2.882 MB / 1.253 GB, free: 2.965 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/1.242, allocations: 8.031 kB / 1.253 GB, free: 2.957 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006912/1.249, allocations: 0.9759 MB / 1.254 GB, free: 1.977 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6461/1.895, allocations: 2.255 MB / 1.256 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003703/1.896, allocations: 103.2 kB / 1.257 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001972/1.898, allocations: 181.4 kB / 1.257 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01493/1.913, allocations: 3.638 MB / 1.26 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02152/1.934, allocations: 5.156 MB / 1.265 GB, free: 183.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001626/1.934, allocations: 13.69 kB / 1.265 GB, free: 183.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009182/1.935, allocations: 9.469 kB / 1.265 GB, free: 183.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009902/1.936, allocations: 325.6 kB / 1.266 GB, free: 183.7 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.04925/1.986, allocations: 28.36 MB / 1.293 GB, free: 165 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003984/1.99, allocations: 1.417 MB / 1.295 GB, free: 164.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00345/1.993, allocations: 1.457 MB / 1.296 GB, free: 164.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001856/1.993, allocations: 23.89 kB / 1.296 GB, free: 164.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/1.993, allocations: 46.75 kB / 1.296 GB, free: 164.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=110): time 5.31e-06/1.993, allocations: 0 / 1.296 GB, free: 164.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=179): time 0.05961/2.053, allocations: 13.56 MB / 1.309 GB, free: 164.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/2.053, allocations: 71.38 kB / 1.31 GB, free: 164.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002678/2.056, allocations: 1.037 MB / 1.311 GB, free: 164 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004761/2.056, allocations: 25.7 kB / 1.311 GB, free: 163.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001183/2.058, allocations: 1.526 MB / 1.312 GB, free: 163.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009365/2.059, allocations: 0.5819 MB / 1.313 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003269/2.059, allocations: 2.625 kB / 1.313 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001803/2.059, allocations: 385.2 kB / 1.313 GB, free: 162.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002847/2.062, allocations: 1.753 MB / 1.315 GB, free: 162.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003297/2.065, allocations: 2.244 MB / 1.317 GB, free: 161.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004551/2.07, allocations: 2.274 MB / 1.319 GB, free: 160.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-05/2.07, allocations: 4.344 kB / 1.319 GB, free: 160.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01631/2.086, allocations: 7.413 MB / 1.326 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.706e-05/2.086, allocations: 13.08 kB / 1.326 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.994e-05/2.086, allocations: 14.91 kB / 1.326 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01184/2.098, allocations: 4.059 MB / 1.33 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/2.099, allocations: 292.5 kB / 1.331 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02746/2.127, allocations: 19.71 MB / 1.35 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/2.129, allocations: 109.2 kB / 1.35 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007118/2.13, allocations: 173.7 kB / 1.35 GB, free: 147.9 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.000909/2.131, allocations: 152.6 kB / 1.35 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01335/2.144, allocations: 7.047 MB / 1.357 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001182/2.146, allocations: 193.2 kB / 1.357 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0144/2.16, allocations: 7.41 MB / 1.365 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.942e-05/2.16, allocations: 18.3 kB / 1.365 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.465e-05/2.16, allocations: 13 kB / 1.365 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-05/2.16, allocations: 7.547 kB / 1.365 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02195/2.182, allocations: 11.38 MB / 1.376 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.77e-05/2.182, allocations: 7.625 kB / 1.376 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008559/2.183, allocations: 167.9 kB / 1.376 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01097/2.194, allocations: 3.986 MB / 1.38 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004033/2.194, allocations: 49.72 kB / 1.38 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02478/2.219, allocations: 19.32 MB / 1.399 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.099e-05/2.219, allocations: 13.06 kB / 1.399 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01267/2.232, allocations: 7.666 MB / 1.406 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/2.234, allocations: 0.697 MB / 1.407 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007058/2.234, allocations: 11.33 kB / 1.407 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001717/2.236, allocations: 101.7 kB / 1.407 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005639/2.237, allocations: 179.9 kB / 1.407 GB, free: 122.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003009/2.237, allocations: 150 kB / 1.407 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00115/2.238, allocations: 0.7826 MB / 1.408 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.5e-07/2.238, allocations: 0 / 1.408 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003404/2.242, allocations: 0.8337 MB / 1.409 GB, free: 120.8 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.01555/2.257, allocations: 10.91 MB / 1.42 GB, free: 111.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01021/2.267, allocations: 5.679 MB / 1.425 GB, free: 106.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/2.267, allocations: 0 / 1.425 GB, free: 106.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.006793/2.274, allocations: 3.543 MB / 1.429 GB, free: 103.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002536/2.277, allocations: 415.4 kB / 1.429 GB, free: 103.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/2.29, allocations: 6.507 MB / 1.435 GB, free: 97.55 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00302/2.293, allocations: 2.743 MB / 1.438 GB, free: 94.98 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001092/2.295, allocations: 370 kB / 1.438 GB, free: 94.63 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/2.296, allocations: 1.214 MB / 1.44 GB, free: 93.42 MB / 0.8542 GB Notification: Performance of SimCode: time 1.002e-06/2.296, allocations: 8 kB / 1.44 GB, free: 93.41 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09961/2.395, allocations: 71.65 MB / 1.509 GB, free: 23.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001309/2.396, allocations: 178.6 kB / 1.51 GB, free: 23.01 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.269/5.664, allocations: 0 / 1.51 GB, free: 23.01 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)