Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.701/2.701, allocations: 287.3 MB / 302.3 MB, free: 8.328 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.001568/0.001568, allocations: 183.4 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 96.83 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005118/0.0005119, allocations: 12.94 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2233, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9748/1.198, allocations: 191.6 MB / 1.165 GB, free: 8.293 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003889/1.199, allocations: 102.1 kB / 1.166 GB, free: 8.234 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2574/1.456, allocations: 64.04 MB / 1.228 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.156e-06/1.456, allocations: 3.938 kB / 1.228 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001429/1.456, allocations: 36 kB / 1.228 GB, free: 2.004 MB / 0.7448 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.006454/1.463, allocations: 1.66 MB / 1.23 GB, free: 400 kB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/1.463, allocations: 16.02 kB / 1.23 GB, free: 384 kB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008866/1.464, allocations: 245.3 kB / 1.23 GB, free: 224 kB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00459/1.468, allocations: 0.4919 MB / 1.23 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004057/1.472, allocations: 1.158 MB / 1.232 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/1.473, allocations: 109.1 kB / 1.232 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006638/1.473, allocations: 156 kB / 1.232 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007882/1.481, allocations: 2.476 MB / 1.234 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.111e-05/1.481, allocations: 7.938 kB / 1.234 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002775/1.482, allocations: 59.69 kB / 1.234 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001928/1.482, allocations: 89.44 kB / 1.234 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006718/1.489, allocations: 2.041 MB / 1.236 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02102/1.51, allocations: 10.51 MB / 1.247 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/1.511, allocations: 0.5764 MB / 1.247 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001954/1.512, allocations: 93.08 kB / 1.247 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/1.512, allocations: 42.5 kB / 1.247 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=36): time 2.836e-06/1.512, allocations: 0 / 1.247 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=52): time 0.045/1.557, allocations: 5.703 MB / 1.253 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/1.557, allocations: 93.48 kB / 1.253 GB, free: 9.109 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002892/1.56, allocations: 0.8116 MB / 1.254 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002513/1.56, allocations: 37.64 kB / 1.254 GB, free: 8.246 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001075/1.561, allocations: 0.7578 MB / 1.255 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003805/1.562, allocations: 185.4 kB / 1.255 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/1.562, allocations: 19.94 kB / 1.255 GB, free: 7.273 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003505/1.562, allocations: 394.7 kB / 1.255 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002898/1.565, allocations: 0.6382 MB / 1.256 GB, free: 6.242 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00338/1.568, allocations: 1.003 MB / 1.257 GB, free: 5.07 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003481/1.572, allocations: 0.814 MB / 1.258 GB, free: 4.258 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.959e-05/1.572, allocations: 8 kB / 1.258 GB, free: 4.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.02089/1.593, allocations: 2.936 MB / 1.26 GB, free: 1.289 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0029/1.596, allocations: 4.533 MB / 1.265 GB, free: 12.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.944e-05/1.596, allocations: 12 kB / 1.265 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01567/1.612, allocations: 1.556 MB / 1.266 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/1.614, allocations: 231.6 kB / 1.267 GB, free: 10.6 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0155/1.629, allocations: 7.108 MB / 1.274 GB, free: 3.16 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/1.631, allocations: 167.7 kB / 1.274 GB, free: 2.996 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/1.631, allocations: 48.45 kB / 1.274 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.632, allocations: 7.953 kB / 1.274 GB, free: 2.941 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01084/1.642, allocations: 2.392 MB / 1.276 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.443e-05/1.642, allocations: 12 kB / 1.276 GB, free: 0.5273 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007558/1.65, allocations: 1.016 MB / 1.277 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001872/1.652, allocations: 251.6 kB / 1.277 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01297/1.665, allocations: 5.594 MB / 1.283 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/1.667, allocations: 135.7 kB / 1.283 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/1.667, allocations: 52 kB / 1.283 GB, free: 9.211 MB / 0.8073 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.002013/1.669, allocations: 0.8362 MB / 1.284 GB, free: 8.363 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002965/1.669, allocations: 75.06 kB / 1.284 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/1.682, allocations: 2.469 MB / 1.286 GB, free: 5.793 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.212e-05/1.682, allocations: 4 kB / 1.286 GB, free: 5.789 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/1.682, allocations: 4 kB / 1.286 GB, free: 5.785 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.406e-05/1.682, allocations: 3.984 kB / 1.286 GB, free: 5.781 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.017/1.699, allocations: 4.294 MB / 1.29 GB, free: 1.395 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.632e-05/1.699, allocations: 0 / 1.29 GB, free: 1.395 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008748/1.7, allocations: 107.8 kB / 1.291 GB, free: 1.289 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01126/1.711, allocations: 1.509 MB / 1.292 GB, free: 15.77 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001705/1.711, allocations: 12 kB / 1.292 GB, free: 15.75 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02177/1.733, allocations: 9.922 MB / 1.302 GB, free: 5.293 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/1.733, allocations: 7.938 kB / 1.302 GB, free: 5.285 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01177/1.745, allocations: 2.521 MB / 1.304 GB, free: 2.66 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009448/1.746, allocations: 284 kB / 1.304 GB, free: 2.363 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000215/1.746, allocations: 19.98 kB / 1.305 GB, free: 2.344 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/1.748, allocations: 119.8 kB / 1.305 GB, free: 2.227 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000327/1.748, allocations: 56.03 kB / 1.305 GB, free: 2.172 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.211e-05/1.748, allocations: 16 kB / 1.305 GB, free: 2.156 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001488/1.75, allocations: 0.6434 MB / 1.305 GB, free: 1.52 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.12e-07/1.75, allocations: 0 / 1.305 GB, free: 1.52 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003147/1.753, allocations: 0.6055 MB / 1.306 GB, free: 0.9141 MB / 0.823 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.01309/1.766, allocations: 3.714 MB / 1.31 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01009/1.776, allocations: 3.089 MB / 1.313 GB, free: 9.965 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.445e-05/1.776, allocations: 4 kB / 1.313 GB, free: 9.961 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.003711/1.78, allocations: 1.276 MB / 1.314 GB, free: 8.633 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/1.782, allocations: 214.3 kB / 1.314 GB, free: 8.422 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03387/1.816, allocations: 17.17 MB / 1.331 GB, free: 6.93 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002979/1.819, allocations: 1.649 MB / 1.332 GB, free: 5.25 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002449/1.821, allocations: 490.4 kB / 1.333 GB, free: 4.766 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001361/1.822, allocations: 483.3 kB / 1.333 GB, free: 4.293 MB / 0.8542 GB Notification: Performance of SimCode: time 1.312e-06/1.822, allocations: 0 / 1.333 GB, free: 4.293 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1088/1.931, allocations: 33.51 MB / 1.366 GB, free: 3.09 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004055/1.932, allocations: 243.1 kB / 1.366 GB, free: 2.852 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.416/5.348, allocations: 0 / 1.366 GB, free: 2.852 MB / 0.8855 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)