Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.839/1.839, allocations: 292.6 MB / 0.5497 GB, free: 14.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005514/0.0005515, allocations: 17.48 kB / 0.6737 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3186, allocations: 116.3 MB / 0.7872 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007216/0.3258, allocations: 4.159 MB / 0.7913 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005508/0.3314, allocations: 2.357 MB / 0.7936 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006797/0.3321, allocations: 31.69 kB / 0.7936 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003296/0.3325, allocations: 71.45 kB / 0.7937 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.334, allocations: 362.9 kB / 0.794 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.3353, allocations: 307.4 kB / 0.7943 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001463/0.3368, allocations: 0.5913 MB / 0.7949 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.3379, allocations: 413.4 kB / 0.7953 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006144/0.3386, allocations: 274.9 kB / 0.7956 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006497/0.3392, allocations: 278.8 kB / 0.7958 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.412e-05/0.3393, allocations: 27.94 kB / 0.7959 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005137/0.3398, allocations: 139.8 kB / 0.796 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.34, allocations: 147.5 kB / 0.7961 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.3402, allocations: 145.3 kB / 0.7963 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009118/0.3411, allocations: 0.5885 MB / 0.7969 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3411, allocations: 4 kB / 0.7969 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3411, allocations: 0 / 0.7969 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.3412, allocations: 0 / 0.7969 GB, free: 1.922 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001811/0.343, allocations: 0.8294 MB / 0.7977 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.343, allocations: 12.03 kB / 0.7977 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001128/0.3432, allocations: 90.5 kB / 0.7978 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.3446, allocations: 186.8 kB / 0.7979 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.3458, allocations: 481.3 kB / 0.7984 GB, free: 240 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.812e-05/0.3458, allocations: 33 kB / 0.7984 GB, free: 208 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.346, allocations: 43.98 kB / 0.7985 GB, free: 164 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.3474, allocations: 0.8364 MB / 0.7993 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.267e-05/0.3475, allocations: 15.84 kB / 0.7993 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.033e-05/0.3476, allocations: 27.98 kB / 0.7993 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001469/0.3477, allocations: 60.95 kB / 0.7994 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.349, allocations: 0.5656 MB / 0.7999 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006296/0.3553, allocations: 5.662 MB / 0.8055 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.3564, allocations: 450.2 kB / 0.8059 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.89e-05/0.3565, allocations: 11.94 kB / 0.8059 GB, free: 8 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.3565, allocations: 34.56 kB / 0.8059 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 3.307e-06/0.3565, allocations: 0 / 0.8059 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.003925/0.3605, allocations: 1.51 MB / 0.8074 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.3606, allocations: 59.39 kB / 0.8075 GB, free: 6.266 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008496/0.3614, allocations: 499 kB / 0.808 GB, free: 5.766 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.3615, allocations: 33.7 kB / 0.808 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003639/0.3618, allocations: 362.8 kB / 0.8083 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.362, allocations: 118.3 kB / 0.8084 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.3621, allocations: 11.94 kB / 0.8085 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002151/0.3623, allocations: 370.8 kB / 0.8088 GB, free: 4.867 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004421/0.3627, allocations: 193.2 kB / 0.809 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007439/0.3635, allocations: 443 kB / 0.8094 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006165/0.3641, allocations: 259.8 kB / 0.8097 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.3641, allocations: 0 / 0.8097 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001939/0.3661, allocations: 0.8062 MB / 0.8105 GB, free: 3.047 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.733e-05/0.3661, allocations: 8.969 kB / 0.8105 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/0.3662, allocations: 8 kB / 0.8105 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006889/0.3669, allocations: 156.2 kB / 0.8106 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007028/0.3676, allocations: 119.8 kB / 0.8107 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00532/0.3729, allocations: 4.064 MB / 0.8147 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009355/0.3739, allocations: 31.97 kB / 0.8147 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.112e-05/0.374, allocations: 28 kB / 0.8148 GB, free: 14.22 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004969/0.3745, allocations: 219.8 kB / 0.815 GB, free: 14 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.3747, allocations: 63.25 kB / 0.815 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001608/0.3763, allocations: 0.6048 MB / 0.8156 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.3763, allocations: 0 / 0.8156 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.3763, allocations: 7.953 kB / 0.8156 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.3764, allocations: 3.984 kB / 0.8156 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002804/0.3792, allocations: 1.253 MB / 0.8169 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.3792, allocations: 4.031 kB / 0.8169 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003932/0.3796, allocations: 59.88 kB / 0.8169 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000638/0.3803, allocations: 148.1 kB / 0.8171 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/0.3803, allocations: 8 kB / 0.8171 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004605/0.3849, allocations: 4.048 MB / 0.821 GB, free: 7.273 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.385, allocations: 4.031 kB / 0.821 GB, free: 7.27 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.3866, allocations: 0.7859 MB / 0.8218 GB, free: 6.387 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003932/0.387, allocations: 172.3 kB / 0.822 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.796e-05/0.3872, allocations: 8 kB / 0.822 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000434/0.3876, allocations: 27.97 kB / 0.822 GB, free: 6.164 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.3877, allocations: 23.97 kB / 0.822 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.255e-05/0.3878, allocations: 11.94 kB / 0.822 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006295/0.3884, allocations: 346.7 kB / 0.8224 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3884, allocations: 0 / 0.8224 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001166/0.3896, allocations: 144 kB / 0.8225 GB, free: 5.652 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(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.002351/0.392, allocations: 1.824 MB / 0.8243 GB, free: 3.734 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002202/0.3942, allocations: 1.032 MB / 0.8253 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.3942, allocations: 0 / 0.8253 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001338/0.3955, allocations: 0.7352 MB / 0.826 GB, free: 1.805 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.397, allocations: 182 kB / 0.8262 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.4089, allocations: 9.056 MB / 0.835 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008025/0.4097, allocations: 0.922 MB / 0.8359 GB, free: 7.375 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006468/0.4104, allocations: 121.3 kB / 0.836 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003834/0.4108, allocations: 195.4 kB / 0.8362 GB, free: 7.066 MB / 0.6544 GB Notification: Performance of SimCode: time 1.603e-06/0.4108, allocations: 0 / 0.8362 GB, free: 7.066 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04167/0.4525, allocations: 12.18 MB / 0.8481 GB, free: 11.19 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003351/0.4529, allocations: 227.6 kB / 0.8483 GB, free: 10.95 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.896/3.349, allocations: 0 / 0.8483 GB, free: 10.95 MB / 0.67 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) Environment - environmentSimulation: