Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",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.556/2.556, allocations: 287.3 MB / 302.3 MB, free: 8.25 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.001488/0.001488, allocations: 180.9 kB / 370.8 MB, free: 10.84 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.178/2.178, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001106/0.001107, allocations: 97.73 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006836/0.0006835, allocations: 11.88 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.218, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9694/1.187, allocations: 167.5 MB / 1.142 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003551/1.188, allocations: 99.33 kB / 1.142 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3393/1.527, allocations: 86.35 MB / 1.226 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.965e-06/1.527, allocations: 3.938 kB / 1.226 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002156/1.527, allocations: 55.98 kB / 1.226 GB, free: 5.305 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.01167/1.539, allocations: 2.229 MB / 1.228 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/1.539, allocations: 12.03 kB / 1.229 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002092/1.541, allocations: 382.2 kB / 1.229 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00764/1.549, allocations: 0.7656 MB / 1.23 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005545/1.555, allocations: 1.539 MB / 1.231 GB, free: 272 kB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002554/1.555, allocations: 172.8 kB / 1.231 GB, free: 96 kB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001249/1.556, allocations: 232 kB / 1.232 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0135/1.57, allocations: 3.871 MB / 1.235 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001161/1.57, allocations: 3.938 kB / 1.235 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007637/1.571, allocations: 104 kB / 1.235 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000331/1.571, allocations: 160.5 kB / 1.236 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01139/1.582, allocations: 3.262 MB / 1.239 GB, free: 8.273 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03321/1.616, allocations: 16.5 MB / 1.255 GB, free: 6.348 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006075/1.622, allocations: 2.142 MB / 1.257 GB, free: 4.035 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002673/1.622, allocations: 93.66 kB / 1.257 GB, free: 3.926 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/1.622, allocations: 47.11 kB / 1.257 GB, free: 3.871 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=72): time 3.717e-06/1.622, allocations: 0 / 1.257 GB, free: 3.871 MB / 0.7761 GB Notification: Performance of matching and sorting (n=76): time 0.01002/1.632, allocations: 3.454 MB / 1.26 GB, free: 320 kB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.674e-05/1.632, allocations: 111.5 kB / 1.261 GB, free: 184 kB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002097/1.634, allocations: 0.9037 MB / 1.261 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001784/1.635, allocations: 41.64 kB / 1.261 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.00102/1.636, allocations: 1.095 MB / 1.263 GB, free: 14.09 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004314/1.636, allocations: 272.2 kB / 1.263 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/1.636, allocations: 27.94 kB / 1.263 GB, free: 13.8 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003114/1.637, allocations: 426.7 kB / 1.263 GB, free: 13.37 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001809/1.638, allocations: 0.6089 MB / 1.264 GB, free: 12.76 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002327/1.641, allocations: 1.157 MB / 1.265 GB, free: 11.35 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002338/1.643, allocations: 0.854 MB / 1.266 GB, free: 10.5 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.403e-05/1.643, allocations: 4 kB / 1.266 GB, free: 10.5 MB / 0.7917 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.006171/1.649, allocations: 1.999 MB / 1.268 GB, free: 8.477 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 4.593e-05/1.65, allocations: 12 kB / 1.268 GB, free: 8.465 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-05/1.65, allocations: 16 kB / 1.268 GB, free: 8.449 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007177/1.65, allocations: 167.8 kB / 1.268 GB, free: 8.273 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002483/1.653, allocations: 343.4 kB / 1.268 GB, free: 7.938 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.939e-05/1.653, allocations: 39.86 kB / 1.268 GB, free: 7.898 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/1.655, allocations: 139.6 kB / 1.268 GB, free: 7.762 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001959/1.655, allocations: 64 kB / 1.268 GB, free: 7.699 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * 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 (165): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003027/1.658, allocations: 0.9732 MB / 1.269 GB, free: 6.715 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006212/1.659, allocations: 114.7 kB / 1.27 GB, free: 6.602 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003825/1.663, allocations: 1.238 MB / 1.271 GB, free: 5.336 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.03e-05/1.663, allocations: 8 kB / 1.271 GB, free: 5.328 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.05e-05/1.663, allocations: 7.938 kB / 1.271 GB, free: 5.32 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.219e-05/1.663, allocations: 11.88 kB / 1.271 GB, free: 5.309 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/1.673, allocations: 3.565 MB / 1.274 GB, free: 1.641 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/1.673, allocations: 4 kB / 1.274 GB, free: 1.637 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/1.675, allocations: 163.7 kB / 1.274 GB, free: 1.477 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006299/1.675, allocations: 135.3 kB / 1.275 GB, free: 1.332 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.075e-05/1.675, allocations: 23.98 kB / 1.275 GB, free: 1.309 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.351e-05/1.675, allocations: 11.97 kB / 1.275 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.675, allocations: 4 kB / 1.275 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003622/1.679, allocations: 1.6 MB / 1.276 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008696/1.68, allocations: 295.6 kB / 1.276 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002293/1.68, allocations: 16 kB / 1.276 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/1.681, allocations: 75.89 kB / 1.277 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000216/1.681, allocations: 60.44 kB / 1.277 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.766e-05/1.682, allocations: 24 kB / 1.277 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001708/1.683, allocations: 0.6874 MB / 1.277 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.42e-07/1.683, allocations: 4 kB / 1.277 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002366/1.686, allocations: 408 kB / 1.278 GB, free: 14 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004465/1.69, allocations: 2.866 MB / 1.28 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00411/1.694, allocations: 1.707 MB / 1.282 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/1.694, allocations: 0 / 1.282 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001777/1.696, allocations: 0.8706 MB / 1.283 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/1.698, allocations: 235.1 kB / 1.283 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02997/1.728, allocations: 21.92 MB / 1.305 GB, free: 1.52 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003454/1.732, allocations: 1.964 MB / 1.307 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.002235/1.734, allocations: 445.3 kB / 1.307 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001992/1.736, allocations: 0.7141 MB / 1.308 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of SimCode: time 1.804e-06/1.736, allocations: 0 / 1.308 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08722/1.824, allocations: 27.02 MB / 1.334 GB, free: 3.676 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003642/1.824, allocations: 232.9 kB / 1.334 GB, free: 3.434 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.201/5.025, allocations: 0 / 1.334 GB, free: 3.434 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)