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.0009316/0.0009316, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001085/0.001085, allocations: 172.7 kB / 15.95 MB, free: 208 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.81/1.81, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.796/1.796, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005619/0.000562, allocations: 21.92 kB / 0.6738 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2855, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005198/0.2908, allocations: 4.311 MB / 0.7916 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004351/0.2952, allocations: 2.38 MB / 0.7939 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007312/0.296, allocations: 23.81 kB / 0.794 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004788/0.2965, allocations: 83.22 kB / 0.794 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.2979, allocations: 350.1 kB / 0.7944 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.299, allocations: 302.9 kB / 0.7947 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001306/0.3003, allocations: 0.9718 MB / 0.7956 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.3013, allocations: 420.3 kB / 0.796 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005582/0.3019, allocations: 294.6 kB / 0.7963 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000447/0.3023, allocations: 322.6 kB / 0.7966 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.004e-05/0.3024, allocations: 20 kB / 0.7966 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005266/0.3029, allocations: 199.6 kB / 0.7968 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.3031, allocations: 167.5 kB / 0.797 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.3032, allocations: 137.3 kB / 0.7971 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006806/0.3039, allocations: 0.6392 MB / 0.7977 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.738e-06/0.3039, allocations: 7.922 kB / 0.7977 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3039, allocations: 0 / 0.7977 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.436e-05/0.304, allocations: 0 / 0.7977 GB, free: 1.172 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.001339/0.3053, allocations: 0.8411 MB / 0.7986 GB, free: 284 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.505e-05/0.3054, allocations: 8.031 kB / 0.7986 GB, free: 276 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001199/0.3055, allocations: 98.5 kB / 0.7987 GB, free: 168 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.3068, allocations: 206.8 kB / 0.7989 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008496/0.3077, allocations: 485.3 kB / 0.7993 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.587e-05/0.3077, allocations: 36.98 kB / 0.7994 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.401e-05/0.3078, allocations: 43.91 kB / 0.7994 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.3091, allocations: 0.8442 MB / 0.8002 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.3092, allocations: 11.94 kB / 0.8002 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.2e-05/0.3092, allocations: 23.98 kB / 0.8003 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001328/0.3093, allocations: 64.95 kB / 0.8003 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008979/0.3103, allocations: 0.5656 MB / 0.8009 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005231/0.3155, allocations: 5.651 MB / 0.8064 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006946/0.3162, allocations: 454.2 kB / 0.8068 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003583/0.3166, allocations: 228.7 kB / 0.807 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.913e-05/0.3166, allocations: 0 / 0.807 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.3167, allocations: 42.45 kB / 0.8071 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 4.218e-06/0.3167, allocations: 4 kB / 0.8071 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002778/0.3195, allocations: 1.505 MB / 0.8086 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.3195, allocations: 55.34 kB / 0.8086 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005495/0.3201, allocations: 0.499 MB / 0.8091 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.3201, allocations: 29.7 kB / 0.8091 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.3204, allocations: 362.8 kB / 0.8095 GB, free: 4.352 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.3206, allocations: 118.4 kB / 0.8096 GB, free: 4.234 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.3206, allocations: 16 kB / 0.8096 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.3208, allocations: 370.8 kB / 0.8099 GB, free: 3.848 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002983/0.3211, allocations: 185.2 kB / 0.8101 GB, free: 3.664 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005316/0.3216, allocations: 451 kB / 0.8106 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004035/0.3221, allocations: 255.8 kB / 0.8108 GB, free: 2.859 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3221, allocations: 8 kB / 0.8108 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001323/0.3234, allocations: 0.7953 MB / 0.8116 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.3234, allocations: 11.98 kB / 0.8116 GB, free: 2.023 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.3235, allocations: 12.09 kB / 0.8116 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005026/0.324, allocations: 152.1 kB / 0.8118 GB, free: 1.848 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004321/0.3244, allocations: 127.8 kB / 0.8119 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003634/0.3281, allocations: 4.03 MB / 0.8158 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004142/0.3285, allocations: 35.95 kB / 0.8158 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.298e-05/0.3286, allocations: 31.94 kB / 0.8159 GB, free: 13.23 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.0003224/0.3289, allocations: 209.8 kB / 0.8161 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.329, allocations: 71.17 kB / 0.8161 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.3301, allocations: 0.6086 MB / 0.8167 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.3301, allocations: 0 / 0.8167 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3301, allocations: 11.89 kB / 0.8167 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3301, allocations: 4 kB / 0.8168 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.3319, allocations: 1.257 MB / 0.818 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.332, allocations: 0 / 0.818 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.3322, allocations: 63.84 kB / 0.818 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003777/0.3326, allocations: 136.2 kB / 0.8182 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.3326, allocations: 12.12 kB / 0.8182 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003313/0.3359, allocations: 4.024 MB / 0.8221 GB, free: 6.297 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.336, allocations: 0 / 0.8221 GB, free: 6.297 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.337, allocations: 0.7077 MB / 0.8228 GB, free: 5.535 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/0.3372, allocations: 172.3 kB / 0.823 GB, free: 5.348 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.038e-05/0.3373, allocations: 11.98 kB / 0.823 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.3375, allocations: 23.97 kB / 0.823 GB, free: 5.312 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.155e-05/0.3376, allocations: 23.97 kB / 0.823 GB, free: 5.289 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.3376, allocations: 12 kB / 0.823 GB, free: 5.277 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003832/0.338, allocations: 338.8 kB / 0.8234 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.338, allocations: 0 / 0.8234 GB, free: 4.949 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006721/0.3387, allocations: 136 kB / 0.8235 GB, free: 4.816 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.001305/0.34, allocations: 1.276 MB / 0.8247 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001448/0.3415, allocations: 1.033 MB / 0.8257 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3415, allocations: 0 / 0.8257 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007842/0.3423, allocations: 0.7308 MB / 0.8265 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000928/0.3432, allocations: 186 kB / 0.8266 GB, free: 1.367 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004636/0.3479, allocations: 3.486 MB / 0.83 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/0.3484, allocations: 0.9059 MB / 0.8309 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004243/0.3488, allocations: 125.3 kB / 0.831 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.3491, allocations: 203.3 kB / 0.8312 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of SimCode: time 6.392e-06/0.3491, allocations: 0 / 0.8312 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/0.378, allocations: 12.21 MB / 0.8432 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/0.3783, allocations: 228.4 kB / 0.8434 GB, free: 308 kB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.964/2.342, allocations: 0 / 0.8434 GB, free: 308 kB / 0.6544 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: