Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 249.5 MB / 257 MB, free: 6.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009736/0.0009738, allocations: 183.9 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.3 MB / 0.5671 GB, free: 15.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009182/0.0009177, allocations: 92.81 kB / 0.6714 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.058e-05/2.059e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1951, allocations: 106.3 MB / 0.8853 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6871/0.8823, allocations: 160.4 MB / 1.042 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.8826, allocations: 88.62 kB / 1.042 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.3327/1.215, allocations: 138.3 MB / 1.177 GB, free: 9.961 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.613e-06/1.215, allocations: 4 kB / 1.177 GB, free: 9.957 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0003524/1.216, allocations: 91.98 kB / 1.177 GB, free: 9.867 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01138/1.227, allocations: 3.326 MB / 1.18 GB, free: 6.48 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 6.166e-05/1.227, allocations: 8.031 kB / 1.18 GB, free: 6.473 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007777/1.235, allocations: 1.037 MB / 1.181 GB, free: 5.426 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007436/1.242, allocations: 2.606 MB / 1.184 GB, free: 2.766 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002058/1.243, allocations: 116 kB / 1.184 GB, free: 2.652 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001595/1.244, allocations: 211.9 kB / 1.184 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01027/1.255, allocations: 4.416 MB / 1.189 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01729/1.272, allocations: 6.086 MB / 1.195 GB, free: 7.586 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002133/1.272, allocations: 15.88 kB / 1.195 GB, free: 7.57 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001385/1.274, allocations: 8 kB / 1.195 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001018/1.275, allocations: 387.3 kB / 1.195 GB, free: 7.184 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04488/1.319, allocations: 31.34 MB / 1.226 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002975/1.322, allocations: 2.103 MB / 1.228 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002952/1.325, allocations: 2.158 MB / 1.23 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.769e-05/1.326, allocations: 29.27 kB / 1.23 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/1.326, allocations: 51.88 kB / 1.23 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=146): time 3.666e-06/1.326, allocations: 0 / 1.23 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of matching and sorting (n=251): time 0.05681/1.382, allocations: 21.95 MB / 1.251 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/1.383, allocations: 85.36 kB / 1.251 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/1.384, allocations: 1.245 MB / 1.252 GB, free: 9.375 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004851/1.385, allocations: 25.7 kB / 1.253 GB, free: 9.344 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001082/1.386, allocations: 1.731 MB / 1.254 GB, free: 7.59 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009234/1.387, allocations: 0.8198 MB / 1.255 GB, free: 6.758 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002495/1.387, allocations: 0 / 1.255 GB, free: 6.758 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001889/1.387, allocations: 407.1 kB / 1.255 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003446/1.391, allocations: 2.706 MB / 1.258 GB, free: 3.645 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003796/1.395, allocations: 3.229 MB / 1.261 GB, free: 208 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4117/1.806, allocations: 3.375 MB / 1.264 GB, free: 232.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.57e-05/1.806, allocations: 4.469 kB / 1.264 GB, free: 232.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.02531/1.832, allocations: 12 MB / 1.276 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/1.832, allocations: 11 kB / 1.276 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.591e-05/1.832, allocations: 17.11 kB / 1.276 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02269/1.855, allocations: 7.88 MB / 1.284 GB, free: 232.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/1.856, allocations: 287.5 kB / 1.284 GB, free: 232.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04188/1.898, allocations: 31.32 MB / 1.315 GB, free: 227 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002494/1.9, allocations: 114.9 kB / 1.315 GB, free: 227 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000405/1.901, allocations: 266.1 kB / 1.315 GB, free: 227 MB / 0.8698 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.0005354/1.901, allocations: 153.7 kB / 1.315 GB, free: 226.9 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01951/1.921, allocations: 11.57 MB / 1.327 GB, free: 224.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006569/1.921, allocations: 228.4 kB / 1.327 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01989/1.941, allocations: 12.18 MB / 1.339 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-05/1.941, allocations: 26.44 kB / 1.339 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.228e-05/1.941, allocations: 23.14 kB / 1.339 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.632e-05/1.942, allocations: 10.69 kB / 1.339 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02851/1.97, allocations: 17.59 MB / 1.356 GB, free: 215.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/1.97, allocations: 6.812 kB / 1.356 GB, free: 215.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007217/1.971, allocations: 168.4 kB / 1.356 GB, free: 215.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01984/1.991, allocations: 7.804 MB / 1.364 GB, free: 214.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004711/1.991, allocations: 91.92 kB / 1.364 GB, free: 214.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03831/2.029, allocations: 30.9 MB / 1.394 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/2.03, allocations: 10.06 kB / 1.394 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0192/2.049, allocations: 12.29 MB / 1.406 GB, free: 187.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001727/2.051, allocations: 0.9973 MB / 1.407 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004665/2.051, allocations: 15.61 kB / 1.407 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001632/2.053, allocations: 114.3 kB / 1.407 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006789/2.053, allocations: 260.9 kB / 1.407 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003248/2.054, allocations: 240.4 kB / 1.408 GB, free: 186.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001066/2.055, allocations: 0.9332 MB / 1.408 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/2.055, allocations: 0 / 1.408 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003335/2.058, allocations: 1.141 MB / 1.41 GB, free: 184.5 MB / 0.8698 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.02418/2.082, allocations: 16.35 MB / 1.426 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01534/2.098, allocations: 9.039 MB / 1.434 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/2.098, allocations: 11.44 kB / 1.434 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01155/2.109, allocations: 5.832 MB / 1.44 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002351/2.112, allocations: 428.7 kB / 1.441 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/2.125, allocations: 8.337 MB / 1.449 GB, free: 145 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002564/2.128, allocations: 3.188 MB / 1.452 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001049/2.129, allocations: 376.1 kB / 1.452 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/2.13, allocations: 1.444 MB / 1.454 GB, free: 140 MB / 0.8698 GB Notification: Performance of SimCode: time 2.325e-06/2.13, allocations: 0 / 1.454 GB, free: 140 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1174/2.247, allocations: 96.7 MB / 1.548 GB, free: 44.88 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001422/2.247, allocations: 185.8 kB / 1.548 GB, free: 44.69 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.896/6.143, allocations: 0 / 1.548 GB, free: 44.69 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_maint.7.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_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)