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.722/1.722, allocations: 292.6 MB / 307.5 MB, free: 5.156 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.001615/0.001615, allocations: 189 kB / 377.1 MB, free: 1.5 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.87/1.87, allocations: 205.4 MB / 0.6366 GB, free: 8.52 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.0009463/0.0009464, allocations: 105.8 kB / 0.7509 GB, free: 63.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003839, allocations: 8 kB / 0.8749 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2723, allocations: 116.3 MB / 0.9884 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9286/1.201, allocations: 192.9 MB / 1.177 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003456/1.201, allocations: 99.94 kB / 1.177 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1722/1.374, allocations: 69.43 MB / 1.245 GB, free: 15.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.383e-06/1.374, allocations: 0 / 1.245 GB, free: 15.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001432/1.374, allocations: 36 kB / 1.245 GB, free: 15.36 MB / 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.005655/1.38, allocations: 1.674 MB / 1.246 GB, free: 13.63 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/1.38, allocations: 8.031 kB / 1.246 GB, free: 13.62 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001034/1.381, allocations: 248.2 kB / 1.247 GB, free: 13.37 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002842/1.383, allocations: 0.4995 MB / 1.247 GB, free: 12.87 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00255/1.386, allocations: 1.147 MB / 1.248 GB, free: 11.68 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.405e-05/1.386, allocations: 114.5 kB / 1.248 GB, free: 11.57 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002505/1.386, allocations: 155.9 kB / 1.248 GB, free: 11.42 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00396/1.39, allocations: 2.478 MB / 1.251 GB, free: 8.875 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.602e-05/1.39, allocations: 7.938 kB / 1.251 GB, free: 8.867 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/1.391, allocations: 60 kB / 1.251 GB, free: 8.809 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001152/1.391, allocations: 87.06 kB / 1.251 GB, free: 8.723 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003209/1.394, allocations: 2.042 MB / 1.253 GB, free: 6.676 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01269/1.407, allocations: 10.53 MB / 1.263 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009613/1.408, allocations: 0.57 MB / 1.264 GB, free: 10.69 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/1.408, allocations: 93.08 kB / 1.264 GB, free: 10.58 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/1.408, allocations: 48.88 kB / 1.264 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=36): time 2.134e-06/1.408, allocations: 0 / 1.264 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=52): time 0.0168/1.425, allocations: 5.702 MB / 1.27 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/1.425, allocations: 85.55 kB / 1.27 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/1.426, allocations: 0.8117 MB / 1.27 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.101e-05/1.426, allocations: 33.7 kB / 1.27 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005003/1.427, allocations: 0.7655 MB / 1.271 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/1.427, allocations: 181.4 kB / 1.271 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.848e-05/1.427, allocations: 20 kB / 1.271 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001742/1.427, allocations: 398.6 kB / 1.272 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009461/1.428, allocations: 0.6382 MB / 1.272 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/1.429, allocations: 1.004 MB / 1.273 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/1.43, allocations: 0.8141 MB / 1.274 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/1.43, allocations: 7.984 kB / 1.274 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.007184/1.437, allocations: 2.932 MB / 1.277 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.00199/1.439, allocations: 4.525 MB / 1.281 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/1.439, allocations: 12 kB / 1.281 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006122/1.446, allocations: 1.564 MB / 1.283 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008985/1.447, allocations: 227.6 kB / 1.283 GB, free: 6.148 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008313/1.455, allocations: 7.112 MB / 1.29 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/1.456, allocations: 159.8 kB / 1.29 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-05/1.456, allocations: 51.97 kB / 1.29 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/1.456, allocations: 4 kB / 1.29 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005636/1.462, allocations: 2.407 MB / 1.293 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/1.462, allocations: 12 kB / 1.293 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003961/1.466, allocations: 1.005 MB / 1.294 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008904/1.467, allocations: 259.5 kB / 1.294 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006706/1.474, allocations: 5.606 MB / 1.299 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/1.475, allocations: 139.8 kB / 1.3 GB, free: 4.801 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.787e-05/1.475, allocations: 40 kB / 1.3 GB, free: 4.762 MB / 0.8698 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 () * Number of clocked 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.001455/1.476, allocations: 0.8401 MB / 1.3 GB, free: 3.91 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/1.476, allocations: 87.02 kB / 1.301 GB, free: 3.824 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006403/1.483, allocations: 2.458 MB / 1.303 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/1.483, allocations: 12 kB / 1.303 GB, free: 1.324 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.483, allocations: 0 / 1.303 GB, free: 1.324 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/1.483, allocations: 3.984 kB / 1.303 GB, free: 1.32 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009077/1.492, allocations: 4.294 MB / 1.307 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/1.492, allocations: 7.984 kB / 1.307 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/1.492, allocations: 104.1 kB / 1.307 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005928/1.498, allocations: 1.513 MB / 1.309 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-05/1.498, allocations: 12 kB / 1.309 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0127/1.511, allocations: 9.908 MB / 1.318 GB, free: 0.8398 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/1.511, allocations: 16.03 kB / 1.318 GB, free: 0.8242 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006575/1.518, allocations: 2.525 MB / 1.321 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000746/1.518, allocations: 288 kB / 1.321 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000261/1.519, allocations: 12 kB / 1.321 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008828/1.52, allocations: 115.8 kB / 1.321 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002519/1.52, allocations: 59.58 kB / 1.321 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.569e-05/1.52, allocations: 16 kB / 1.321 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001176/1.521, allocations: 0.6356 MB / 1.322 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.3e-07/1.521, allocations: 0 / 1.322 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002629/1.524, allocations: 0.6288 MB / 1.323 GB, free: 12.44 MB / 0.9011 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 () * Number of clocked 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.007269/1.531, allocations: 3.71 MB / 1.326 GB, free: 8.629 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.005681/1.537, allocations: 3.086 MB / 1.329 GB, free: 5.496 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.537, allocations: 4 kB / 1.329 GB, free: 5.492 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001975/1.539, allocations: 1.28 MB / 1.33 GB, free: 4.16 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/1.54, allocations: 212.8 kB / 1.331 GB, free: 3.949 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02042/1.56, allocations: 17.18 MB / 1.347 GB, free: 2.453 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001753/1.562, allocations: 1.649 MB / 1.349 GB, free: 0.7695 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001471/1.564, allocations: 482.2 kB / 1.35 GB, free: 300 kB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006912/1.564, allocations: 487.3 kB / 1.35 GB, free: 15.81 MB / 0.9323 GB Notification: Performance of SimCode: time 2.514e-06/1.564, allocations: 0 / 1.35 GB, free: 15.81 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5873/2.152, allocations: 33.64 MB / 1.383 GB, free: 226.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/2.152, allocations: 237.5 kB / 1.383 GB, free: 226.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.903/5.055, allocations: 1.469 kB / 1.383 GB, free: 226.3 MB / 0.9323 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)