Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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.736/2.736, allocations: 287.3 MB / 302.3 MB, free: 8.262 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.001566/0.001566, allocations: 182.2 kB / 370.8 MB, free: 10.87 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.218/2.218, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.00153/0.00153, allocations: 89.67 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005399/0.00054, allocations: 10.91 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2254, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01355/0.239, allocations: 9.636 MB / 0.9877 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01074/0.2498, allocations: 5.396 MB / 0.993 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.2512, allocations: 51.62 kB / 0.993 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.2523, allocations: 222.5 kB / 0.9932 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003557/0.2559, allocations: 0.8373 MB / 0.9941 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002661/0.2586, allocations: 0.5926 MB / 0.9946 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002896/0.2615, allocations: 1.264 MB / 0.9959 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005277/0.2668, allocations: 2.161 MB / 0.998 GB, free: 8.055 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.2682, allocations: 0.6226 MB / 0.9986 GB, free: 7.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.2694, allocations: 0.6458 MB / 0.9992 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001968/0.2696, allocations: 60 kB / 0.9993 GB, free: 6.723 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.2712, allocations: 0.5109 MB / 0.9998 GB, free: 6.211 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004522/0.2717, allocations: 418.7 kB / 1 GB, free: 5.801 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003427/0.272, allocations: 296.8 kB / 1 GB, free: 5.504 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002441/0.2745, allocations: 1.726 MB / 1.002 GB, free: 3.773 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2745, allocations: 0 / 1.002 GB, free: 3.773 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.314e-06/0.2745, allocations: 0 / 1.002 GB, free: 3.773 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.238e-05/0.2746, allocations: 0 / 1.002 GB, free: 3.773 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003203/0.2778, allocations: 1.591 MB / 1.004 GB, free: 2.125 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.2778, allocations: 8.031 kB / 1.004 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000321/0.2782, allocations: 219.2 kB / 1.004 GB, free: 1.891 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006444/0.2846, allocations: 0.6846 MB / 1.005 GB, free: 1.203 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002348/0.287, allocations: 0.8867 MB / 1.005 GB, free: 276 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.829e-05/0.2871, allocations: 98.52 kB / 1.006 GB, free: 176 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002829/0.2874, allocations: 116 kB / 1.006 GB, free: 60 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00568/0.2931, allocations: 2.19 MB / 1.008 GB, free: 13.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.178e-05/0.2933, allocations: 7.938 kB / 1.008 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002304/0.2935, allocations: 63.95 kB / 1.008 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000374/0.2939, allocations: 170.2 kB / 1.008 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005613/0.2995, allocations: 1.851 MB / 1.01 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0207/0.3203, allocations: 12.48 MB / 1.022 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007978/0.3283, allocations: 1.956 MB / 1.024 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003035/0.3286, allocations: 110 kB / 1.024 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.938e-05/0.3287, allocations: 39.56 kB / 1.024 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=103): time 4.328e-06/0.3287, allocations: 4 kB / 1.024 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of matching and sorting (n=110): time 0.01079/0.3395, allocations: 3.706 MB / 1.028 GB, free: 8.102 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/0.3396, allocations: 64.41 kB / 1.028 GB, free: 8.023 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/0.3414, allocations: 0.9203 MB / 1.029 GB, free: 7.086 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001804/0.3416, allocations: 41.7 kB / 1.029 GB, free: 7.039 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007337/0.3424, allocations: 0.7276 MB / 1.029 GB, free: 6.301 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005027/0.3429, allocations: 390.4 kB / 1.03 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.343, allocations: 36 kB / 1.03 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002013/0.3433, allocations: 361.9 kB / 1.03 GB, free: 5.52 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/0.3449, allocations: 0.6051 MB / 1.031 GB, free: 4.914 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002156/0.3471, allocations: 1.09 MB / 1.032 GB, free: 3.605 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002181/0.3493, allocations: 0.7642 MB / 1.033 GB, free: 2.844 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.631e-05/0.3493, allocations: 8 kB / 1.033 GB, free: 2.836 MB / 0.6511 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.006214/0.3556, allocations: 2.085 MB / 1.035 GB, free: 0.7148 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.269e-05/0.3557, allocations: 15.95 kB / 1.035 GB, free: 0.6992 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.292e-05/0.3557, allocations: 16 kB / 1.035 GB, free: 0.6836 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/0.3572, allocations: 262.8 kB / 1.035 GB, free: 412 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002709/0.3599, allocations: 375.4 kB / 1.035 GB, free: 36 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01819/0.3781, allocations: 10.82 MB / 1.046 GB, free: 4.148 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003108/0.3813, allocations: 123.8 kB / 1.046 GB, free: 4.027 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004621/0.3818, allocations: 71.98 kB / 1.046 GB, free: 3.957 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001664/0.3835, allocations: 409.4 kB / 1.046 GB, free: 3.547 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005489/0.3841, allocations: 130.4 kB / 1.047 GB, free: 3.418 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007464/0.3916, allocations: 1.677 MB / 1.048 GB, free: 1.711 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.13e-05/0.3917, allocations: 11.98 kB / 1.048 GB, free: 1.699 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.448e-05/0.3917, allocations: 8 kB / 1.048 GB, free: 1.691 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-05/0.3918, allocations: 7.969 kB / 1.048 GB, free: 1.684 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/0.4055, allocations: 3.287 MB / 1.051 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-05/0.4056, allocations: 4 kB / 1.051 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002671/0.4083, allocations: 219.6 kB / 1.052 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001984/0.4103, allocations: 239.4 kB / 1.052 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000275/0.4107, allocations: 28 kB / 1.052 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01809/0.4288, allocations: 10.81 MB / 1.062 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.268e-05/0.4288, allocations: 4 kB / 1.062 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8855/1.314, allocations: 2.063 MB / 1.064 GB, free: 82.31 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001583/1.316, allocations: 330.5 kB / 1.065 GB, free: 82.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005646/1.317, allocations: 25.89 kB / 1.065 GB, free: 82.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00223/1.319, allocations: 90.45 kB / 1.065 GB, free: 82.21 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005679/1.32, allocations: 97 kB / 1.065 GB, free: 82.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001949/1.32, allocations: 34.97 kB / 1.065 GB, free: 82.21 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002309/1.322, allocations: 0.6118 MB / 1.066 GB, free: 82.11 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.213e-06/1.322, allocations: 0 / 1.066 GB, free: 82.11 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003764/1.326, allocations: 394.1 kB / 1.066 GB, free: 82.11 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00822/1.334, allocations: 4.136 MB / 1.07 GB, free: 79.39 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008742/1.343, allocations: 2.486 MB / 1.072 GB, free: 78.37 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-05/1.343, allocations: 0 / 1.072 GB, free: 78.37 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.005266/1.348, allocations: 1.629 MB / 1.074 GB, free: 77.26 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003911/1.352, allocations: 311.4 kB / 1.074 GB, free: 77.19 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03535/1.388, allocations: 19.06 MB / 1.093 GB, free: 61.93 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002351/1.39, allocations: 1.36 MB / 1.094 GB, free: 61.15 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003025/1.393, allocations: 363.3 kB / 1.095 GB, free: 61.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001839/1.395, allocations: 0.5214 MB / 1.095 GB, free: 60.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.914e-06/1.395, allocations: 0 / 1.095 GB, free: 60.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1111/1.506, allocations: 26.72 MB / 1.121 GB, free: 52.69 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002753/1.507, allocations: 228.4 kB / 1.121 GB, free: 52.45 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.633/5.14, allocations: 0 / 1.121 GB, free: 52.45 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)