Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.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_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",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.81/1.81, allocations: 292.6 MB / 307.5 MB, free: 5.168 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.001893/0.001894, allocations: 187.4 kB / 377.1 MB, free: 1.516 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.884/1.884, allocations: 205.4 MB / 0.6366 GB, free: 8.602 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.001051/0.001051, allocations: 96.44 kB / 0.7509 GB, free: 63.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004483/0.0004483, allocations: 8 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.313, allocations: 116.3 MB / 0.9884 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9104/1.223, allocations: 193.7 MB / 1.178 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003999/1.224, allocations: 97.34 kB / 1.178 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1939/1.418, allocations: 72.73 MB / 1.249 GB, free: 11.21 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.854e-06/1.418, allocations: 0 / 1.249 GB, free: 11.21 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001007/1.418, allocations: 36 kB / 1.249 GB, free: 11.18 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.004299/1.422, allocations: 1.796 MB / 1.251 GB, free: 9.328 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.552e-05/1.422, allocations: 8.031 kB / 1.251 GB, free: 9.32 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004845/1.423, allocations: 260.7 kB / 1.251 GB, free: 9.055 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003267/1.426, allocations: 0.6671 MB / 1.251 GB, free: 8.387 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002988/1.429, allocations: 1.246 MB / 1.253 GB, free: 7.098 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/1.429, allocations: 126.6 kB / 1.253 GB, free: 6.977 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003175/1.43, allocations: 163.9 kB / 1.253 GB, free: 6.816 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004963/1.435, allocations: 2.652 MB / 1.256 GB, free: 4.102 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.398e-05/1.435, allocations: 0 / 1.256 GB, free: 4.102 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002211/1.435, allocations: 67.98 kB / 1.256 GB, free: 4.035 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/1.435, allocations: 91.22 kB / 1.256 GB, free: 3.945 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004058/1.439, allocations: 2.218 MB / 1.258 GB, free: 1.723 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01559/1.455, allocations: 10.9 MB / 1.268 GB, free: 5.934 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/1.456, allocations: 0.7537 MB / 1.269 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/1.456, allocations: 89.48 kB / 1.269 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.137e-05/1.456, allocations: 46.81 kB / 1.269 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=46): time 3.256e-06/1.456, allocations: 0 / 1.269 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of matching and sorting (n=70): time 0.02679/1.483, allocations: 8.397 MB / 1.278 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.194e-05/1.483, allocations: 89.67 kB / 1.278 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/1.485, allocations: 0.8548 MB / 1.278 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000165/1.485, allocations: 37.7 kB / 1.279 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007506/1.486, allocations: 0.7735 MB / 1.279 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003203/1.486, allocations: 248.6 kB / 1.28 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.39e-05/1.486, allocations: 20 kB / 1.28 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002831/1.487, allocations: 398.8 kB / 1.28 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/1.488, allocations: 0.7989 MB / 1.281 GB, free: 9.281 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/1.49, allocations: 1.168 MB / 1.282 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/1.491, allocations: 0.9984 MB / 1.283 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/1.491, allocations: 4 kB / 1.283 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009042/1.501, allocations: 3.511 MB / 1.286 GB, free: 3.422 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002292/1.503, allocations: 4.27 MB / 1.29 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/1.503, allocations: 12 kB / 1.29 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007536/1.51, allocations: 1.861 MB / 1.292 GB, free: 12.94 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/1.512, allocations: 231.6 kB / 1.292 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/1.522, allocations: 7.029 MB / 1.299 GB, free: 5.527 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/1.524, allocations: 191.6 kB / 1.299 GB, free: 5.34 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/1.524, allocations: 47.98 kB / 1.3 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/1.524, allocations: 4 kB / 1.3 GB, free: 5.289 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006883/1.531, allocations: 2.861 MB / 1.302 GB, free: 2.422 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.704e-05/1.531, allocations: 12 kB / 1.302 GB, free: 2.41 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00466/1.536, allocations: 1.154 MB / 1.303 GB, free: 1.254 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/1.537, allocations: 299.5 kB / 1.304 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009503/1.547, allocations: 5.844 MB / 1.309 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/1.548, allocations: 155.8 kB / 1.31 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/1.549, allocations: 44 kB / 1.31 GB, free: 10.79 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.002059/1.551, allocations: 0.8986 MB / 1.311 GB, free: 9.879 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002793/1.551, allocations: 90.95 kB / 1.311 GB, free: 9.789 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008137/1.559, allocations: 3.113 MB / 1.314 GB, free: 6.656 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.435e-06/1.559, allocations: 4 kB / 1.314 GB, free: 6.652 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/1.559, allocations: 4 kB / 1.314 GB, free: 6.648 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/1.559, allocations: 3.984 kB / 1.314 GB, free: 6.645 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01136/1.571, allocations: 5.185 MB / 1.319 GB, free: 1.367 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/1.571, allocations: 4 kB / 1.319 GB, free: 1.363 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004766/1.571, allocations: 112.1 kB / 1.319 GB, free: 1.254 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006981/1.578, allocations: 1.776 MB / 1.321 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/1.578, allocations: 12 kB / 1.321 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01549/1.594, allocations: 10.02 MB / 1.33 GB, free: 5.172 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.697e-06/1.594, allocations: 7.953 kB / 1.33 GB, free: 5.164 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008061/1.602, allocations: 3.095 MB / 1.333 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/1.603, allocations: 332 kB / 1.334 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/1.603, allocations: 16 kB / 1.334 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008904/1.604, allocations: 151.8 kB / 1.334 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003386/1.604, allocations: 60.42 kB / 1.334 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.069e-05/1.604, allocations: 16 kB / 1.334 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001124/1.606, allocations: 0.6785 MB / 1.335 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.4e-07/1.606, allocations: 0 / 1.335 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003219/1.609, allocations: 0.7226 MB / 1.335 GB, free: 15.99 MB / 0.9167 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): 40 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.008764/1.618, allocations: 4.307 MB / 1.34 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.007571/1.625, allocations: 3.595 MB / 1.343 GB, free: 7.98 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/1.625, allocations: 4.688 kB / 1.343 GB, free: 7.977 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002456/1.628, allocations: 1.344 MB / 1.344 GB, free: 6.605 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/1.629, allocations: 243 kB / 1.345 GB, free: 6.367 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02721/1.656, allocations: 18.3 MB / 1.362 GB, free: 3.695 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001961/1.658, allocations: 1.746 MB / 1.364 GB, free: 1.918 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001791/1.66, allocations: 0.5186 MB / 1.365 GB, free: 1.395 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007788/1.661, allocations: 0.511 MB / 1.365 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of SimCode: time 1.603e-06/1.661, allocations: 3.938 kB / 1.365 GB, free: 0.8789 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.611/2.272, allocations: 40.41 MB / 1.405 GB, free: 223 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/2.272, allocations: 237.2 kB / 1.405 GB, free: 222.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.995/5.267, allocations: 0 / 1.405 GB, free: 222.8 MB / 0.9323 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)