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.692/2.692, allocations: 287.5 MB / 302.4 MB, free: 8.336 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.001335/0.001335, allocations: 180.9 kB / 371 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.167/2.167, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.001801/0.001801, allocations: 96.84 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007482/0.0007484, allocations: 16.08 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2604, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01998/0.2804, allocations: 14.52 MB / 0.9926 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00942/0.2899, allocations: 4.624 MB / 0.9972 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.2914, allocations: 55.69 kB / 0.9972 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00087/0.2923, allocations: 242.1 kB / 0.9974 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002057/0.2944, allocations: 0.5909 MB / 0.998 GB, free: 8.156 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002147/0.2965, allocations: 493.1 kB / 0.9985 GB, free: 7.676 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005005/0.3016, allocations: 4.109 MB / 1.003 GB, free: 3.555 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01018/0.3118, allocations: 4.946 MB / 1.007 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002857/0.3147, allocations: 1.109 MB / 1.008 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003455/0.3182, allocations: 1.472 MB / 1.01 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0006478/0.3189, allocations: 144 kB / 1.01 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001918/0.3208, allocations: 391.6 kB / 1.01 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001924/0.3228, allocations: 1.064 MB / 1.011 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009619/0.3238, allocations: 496.5 kB / 1.012 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.006808/0.3306, allocations: 4.263 MB / 1.016 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.01e-05/0.3307, allocations: 4 kB / 1.016 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.006e-06/0.3307, allocations: 0 / 1.016 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001305/0.3308, allocations: 0 / 1.016 GB, free: 5.609 MB / 0.6355 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.007132/0.338, allocations: 2.202 MB / 1.018 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.338, allocations: 8.031 kB / 1.018 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00123/0.3393, allocations: 378.3 kB / 1.019 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006574/0.3459, allocations: 0.8359 MB / 1.019 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004402/0.3503, allocations: 1.477 MB / 1.021 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002161/0.3506, allocations: 180.8 kB / 1.021 GB, free: 428 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008509/0.3515, allocations: 228 kB / 1.021 GB, free: 200 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01208/0.3636, allocations: 4.149 MB / 1.025 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-05/0.3637, allocations: 8 kB / 1.025 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004387/0.3641, allocations: 99.97 kB / 1.025 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003386/0.3645, allocations: 172.5 kB / 1.026 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01205/0.3766, allocations: 3.628 MB / 1.029 GB, free: 7.984 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03047/0.4071, allocations: 16.54 MB / 1.045 GB, free: 6.016 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005917/0.413, allocations: 2.296 MB / 1.047 GB, free: 3.512 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001516/0.4146, allocations: 0.578 MB / 1.048 GB, free: 2.926 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002255/0.4149, allocations: 89.67 kB / 1.048 GB, free: 2.82 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.4149, allocations: 47.05 kB / 1.048 GB, free: 2.766 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=72): time 3.347e-06/0.4149, allocations: 4 kB / 1.048 GB, free: 2.762 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76): time 0.009221/0.4242, allocations: 3.44 MB / 1.052 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.386e-05/0.4243, allocations: 119.4 kB / 1.052 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002035/0.4263, allocations: 1.006 MB / 1.053 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.4265, allocations: 37.7 kB / 1.053 GB, free: 14 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00106/0.4275, allocations: 1.103 MB / 1.054 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003805/0.4279, allocations: 280.2 kB / 1.054 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.4281, allocations: 24 kB / 1.054 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002837/0.4284, allocations: 414.7 kB / 1.054 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/0.4301, allocations: 0.6128 MB / 1.055 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002213/0.4323, allocations: 1.185 MB / 1.056 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002136/0.4345, allocations: 0.8657 MB / 1.057 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.65e-05/0.4345, allocations: 8 kB / 1.057 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005638/0.4402, allocations: 2.019 MB / 1.059 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.914e-05/0.4403, allocations: 12 kB / 1.059 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.545e-05/0.4403, allocations: 20 kB / 1.059 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000686/0.441, allocations: 159.3 kB / 1.059 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002389/0.4434, allocations: 351.6 kB / 1.06 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.205e-05/0.4435, allocations: 43.86 kB / 1.06 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/0.4453, allocations: 127.7 kB / 1.06 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001759/0.4455, allocations: 71.98 kB / 1.06 GB, free: 6.406 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * 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.002352/0.4479, allocations: 0.981 MB / 1.061 GB, free: 5.414 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003654/0.4482, allocations: 102.8 kB / 1.061 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003508/0.4518, allocations: 1.253 MB / 1.062 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/0.4518, allocations: 8 kB / 1.062 GB, free: 4.031 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.4518, allocations: 96 / 1.062 GB, free: 4.031 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/0.4519, allocations: 7.969 kB / 1.062 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009141/0.461, allocations: 3.804 MB / 1.066 GB, free: 76 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/0.4611, allocations: 4 kB / 1.066 GB, free: 72 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.6765/1.138, allocations: 156.3 kB / 1.066 GB, free: 83.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007678/1.138, allocations: 144.6 kB / 1.066 GB, free: 83.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/1.139, allocations: 18.75 kB / 1.066 GB, free: 83.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.665e-05/1.139, allocations: 8.766 kB / 1.066 GB, free: 83.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.096e-06/1.139, allocations: 3.703 kB / 1.066 GB, free: 83.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004065/1.143, allocations: 1.477 MB / 1.068 GB, free: 83.43 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009227/1.144, allocations: 292.2 kB / 1.068 GB, free: 83.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000269/1.144, allocations: 21.45 kB / 1.068 GB, free: 83.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/1.145, allocations: 73.83 kB / 1.068 GB, free: 83.33 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002297/1.145, allocations: 60.59 kB / 1.068 GB, free: 83.33 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.094e-05/1.146, allocations: 25.14 kB / 1.068 GB, free: 83.33 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001721/1.147, allocations: 0.6923 MB / 1.069 GB, free: 83.21 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.92e-07/1.147, allocations: 0 / 1.069 GB, free: 83.21 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002331/1.15, allocations: 388.9 kB / 1.069 GB, free: 83.18 MB / 0.6823 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.004005/1.154, allocations: 2.036 MB / 1.071 GB, free: 81.92 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004144/1.158, allocations: 1.716 MB / 1.073 GB, free: 81.07 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.158, allocations: 0 / 1.073 GB, free: 81.07 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001812/1.16, allocations: 0.862 MB / 1.074 GB, free: 80.49 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/1.162, allocations: 247.3 kB / 1.074 GB, free: 80.42 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02609/1.188, allocations: 9.741 MB / 1.083 GB, free: 75.17 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003479/1.192, allocations: 1.919 MB / 1.085 GB, free: 74.18 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002313/1.194, allocations: 451.6 kB / 1.086 GB, free: 74.15 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001791/1.196, allocations: 0.7095 MB / 1.086 GB, free: 73.56 MB / 0.6823 GB Notification: Performance of SimCode: time 2.375e-06/1.196, allocations: 4 kB / 1.086 GB, free: 73.56 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08699/1.283, allocations: 26.97 MB / 1.113 GB, free: 65.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/1.284, allocations: 246.2 kB / 1.113 GB, free: 64.95 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.297/4.58, allocations: 0 / 1.113 GB, free: 64.95 MB / 0.6823 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)