Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",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.737/1.737, allocations: 289.9 MB / 297.4 MB, free: 6.344 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.001475/0.001475, allocations: 180.8 kB / 366.7 MB, free: 1.645 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.797/1.797, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.001005/0.001005, allocations: 76.78 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.615e-05/3.608e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8008/0.8008, allocations: 116.3 MB / 0.9734 GB, free: 76.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2312/1.032, allocations: 192.1 MB / 1.161 GB, free: 5.883 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/1.032, allocations: 99.94 kB / 1.161 GB, free: 5.785 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.1726/1.205, allocations: 68.78 MB / 1.228 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.416e-06/1.205, allocations: 0 / 1.228 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001058/1.205, allocations: 43.92 kB / 1.228 GB, free: 488 kB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.00359/1.209, allocations: 1.569 MB / 1.23 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/1.209, allocations: 8.031 kB / 1.23 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002639/1.212, allocations: 497.5 kB / 1.23 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00239/1.214, allocations: 1.153 MB / 1.231 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.924e-05/1.214, allocations: 56 kB / 1.231 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002512/1.214, allocations: 88 kB / 1.232 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003284/1.218, allocations: 1.771 MB / 1.233 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003838/1.221, allocations: 2.206 MB / 1.235 GB, free: 8.98 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.107e-05/1.222, allocations: 4 kB / 1.235 GB, free: 8.977 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/1.222, allocations: 3.938 kB / 1.235 GB, free: 8.973 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001141/1.222, allocations: 91.06 kB / 1.236 GB, free: 8.883 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01304/1.235, allocations: 10.13 MB / 1.245 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008806/1.236, allocations: 0.5414 MB / 1.246 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005465/1.236, allocations: 368.6 kB / 1.246 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000135/1.237, allocations: 89.11 kB / 1.246 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/1.237, allocations: 38.56 kB / 1.246 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=36): time 2.284e-06/1.237, allocations: 4 kB / 1.246 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of matching and sorting (n=52): time 0.008528/1.245, allocations: 3.159 MB / 1.25 GB, free: 9.641 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/1.245, allocations: 89.53 kB / 1.25 GB, free: 9.535 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/1.246, allocations: 0.7179 MB / 1.25 GB, free: 8.812 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001082/1.246, allocations: 29.7 kB / 1.25 GB, free: 8.777 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005854/1.247, allocations: 0.7615 MB / 1.251 GB, free: 8.004 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002708/1.247, allocations: 177.4 kB / 1.251 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.757e-05/1.247, allocations: 0 / 1.251 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002852/1.248, allocations: 390.8 kB / 1.252 GB, free: 7.438 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009304/1.249, allocations: 0.5765 MB / 1.252 GB, free: 6.859 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/1.25, allocations: 0.9337 MB / 1.253 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/1.251, allocations: 0.8333 MB / 1.254 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/1.251, allocations: 7.938 kB / 1.254 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.006247/1.257, allocations: 2.582 MB / 1.256 GB, free: 2.309 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.5069/1.764, allocations: 4.515 MB / 1.261 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-05/1.764, allocations: 11.34 kB / 1.261 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005147/1.77, allocations: 1.091 MB / 1.262 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/1.771, allocations: 225.8 kB / 1.262 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007865/1.779, allocations: 6.541 MB / 1.269 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/1.78, allocations: 147.4 kB / 1.269 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/1.78, allocations: 48.14 kB / 1.269 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/1.78, allocations: 4.719 kB / 1.269 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002338/1.782, allocations: 1.265 MB / 1.27 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/1.783, allocations: 11.72 kB / 1.27 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/1.783, allocations: 23.17 kB / 1.27 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/1.784, allocations: 283.3 kB / 1.27 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.482e-05/1.784, allocations: 23.94 kB / 1.27 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008472/1.785, allocations: 104.1 kB / 1.27 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-05/1.785, allocations: 43.42 kB / 1.27 GB, free: 205.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002599/1.785, allocations: 137.8 kB / 1.271 GB, free: 205.8 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005688/1.791, allocations: 2.157 MB / 1.273 GB, free: 205.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00028/1.791, allocations: 79.16 kB / 1.273 GB, free: 205.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005958/1.797, allocations: 2.266 MB / 1.275 GB, free: 205.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/1.797, allocations: 9.656 kB / 1.275 GB, free: 205.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/1.797, allocations: 3.844 kB / 1.275 GB, free: 205.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/1.797, allocations: 2.953 kB / 1.275 GB, free: 205.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008752/1.806, allocations: 3.884 MB / 1.279 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/1.806, allocations: 0 / 1.279 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004359/1.806, allocations: 101.5 kB / 1.279 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00505/1.811, allocations: 1.347 MB / 1.28 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.543e-05/1.811, allocations: 6.734 kB / 1.28 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01136/1.823, allocations: 9.112 MB / 1.289 GB, free: 200.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/1.823, allocations: 5.859 kB / 1.289 GB, free: 200.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006071/1.829, allocations: 2.326 MB / 1.291 GB, free: 199.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000582/1.83, allocations: 281.7 kB / 1.292 GB, free: 199.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/1.83, allocations: 4.156 kB / 1.292 GB, free: 199.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/1.831, allocations: 157.6 kB / 1.292 GB, free: 199.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000267/1.831, allocations: 48.52 kB / 1.292 GB, free: 199.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-05/1.831, allocations: 15.23 kB / 1.292 GB, free: 199.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0008291/1.832, allocations: 0.5612 MB / 1.292 GB, free: 199.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.61e-07/1.832, allocations: 1.344 kB / 1.292 GB, free: 199.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002293/1.834, allocations: 0.5547 MB / 1.293 GB, free: 199.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.006599/1.841, allocations: 3.53 MB / 1.296 GB, free: 198.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004347/1.845, allocations: 2.345 MB / 1.299 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/1.845, allocations: 3.906 kB / 1.299 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001809/1.847, allocations: 1.192 MB / 1.3 GB, free: 197.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/1.848, allocations: 195.5 kB / 1.3 GB, free: 197.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006041/1.854, allocations: 2.833 MB / 1.303 GB, free: 196.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001354/1.856, allocations: 1.638 MB / 1.304 GB, free: 195.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001695/1.857, allocations: 0.58 MB / 1.305 GB, free: 195.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005566/1.858, allocations: 479 kB / 1.305 GB, free: 194.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.032e-06/1.858, allocations: 1.781 kB / 1.305 GB, free: 194.9 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05936/1.917, allocations: 29.91 MB / 1.335 GB, free: 193.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/1.917, allocations: 164.7 kB / 1.335 GB, free: 193.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.529/4.446, allocations: 4.562 kB / 1.335 GB, free: 193.4 MB / 0.8542 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)