Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.497/1.497, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 181.9 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.759/1.759, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000942/0.0009419, allocations: 101.7 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.000319, allocations: 9.969 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2326, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1862/0.4189, allocations: 148.1 MB / 1.045 GB, free: 11.54 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003502/0.4193, allocations: 95.94 kB / 1.045 GB, free: 11.45 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5219/0.9412, allocations: 29.92 MB / 1.074 GB, free: 148.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.307e-06/0.9413, allocations: 1.344 kB / 1.074 GB, free: 148.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.901e-05/0.9414, allocations: 25.56 kB / 1.074 GB, free: 148.1 MB / 0.698 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.002215/0.9436, allocations: 0.8573 MB / 1.075 GB, free: 147.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 8.505e-05/0.9437, allocations: 13.19 kB / 1.075 GB, free: 147.5 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002579/0.944, allocations: 98 kB / 1.075 GB, free: 147.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.9455, allocations: 202.8 kB / 1.075 GB, free: 147.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.9466, allocations: 0.4919 MB / 1.076 GB, free: 147 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.718e-05/0.9466, allocations: 34.17 kB / 1.076 GB, free: 147 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.9467, allocations: 47.39 kB / 1.076 GB, free: 147 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.9481, allocations: 0.9214 MB / 1.077 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.02e-05/0.9481, allocations: 16 kB / 1.077 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.432e-05/0.9482, allocations: 24.44 kB / 1.077 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-05/0.9483, allocations: 50.97 kB / 1.077 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009747/0.9493, allocations: 0.5631 MB / 1.077 GB, free: 146.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004724/0.954, allocations: 5.668 MB / 1.083 GB, free: 141.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008246/0.9549, allocations: 457.1 kB / 1.083 GB, free: 141.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.496e-05/0.9549, allocations: 3.25 kB / 1.083 GB, free: 141.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.9549, allocations: 36.62 kB / 1.083 GB, free: 141.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=32): time 2.995e-06/0.955, allocations: 3.938 kB / 1.083 GB, free: 141.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.002921/0.9579, allocations: 1.494 MB / 1.085 GB, free: 140.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.9579, allocations: 63.61 kB / 1.085 GB, free: 140.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005053/0.9584, allocations: 442.8 kB / 1.085 GB, free: 140 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.9585, allocations: 30.3 kB / 1.085 GB, free: 140 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.9587, allocations: 353.7 kB / 1.086 GB, free: 139.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.445e-05/0.9588, allocations: 119 kB / 1.086 GB, free: 139.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.9588, allocations: 9.688 kB / 1.086 GB, free: 139.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.988e-05/0.9589, allocations: 367.4 kB / 1.086 GB, free: 139.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/0.9592, allocations: 186.4 kB / 1.086 GB, free: 139.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003638/0.9596, allocations: 416.9 kB / 1.087 GB, free: 139 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004338/0.96, allocations: 250 kB / 1.087 GB, free: 138.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.96, allocations: 1.344 kB / 1.087 GB, free: 138.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001379/0.9614, allocations: 0.7714 MB / 1.088 GB, free: 138.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.9614, allocations: 7.938 kB / 1.088 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.9615, allocations: 7.25 kB / 1.088 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005169/0.962, allocations: 156.6 kB / 1.088 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004948/0.9625, allocations: 114.9 kB / 1.088 GB, free: 138.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002971/0.9655, allocations: 4.061 MB / 1.092 GB, free: 134.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005045/0.966, allocations: 27.94 kB / 1.092 GB, free: 134.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.903e-05/0.9661, allocations: 27.69 kB / 1.092 GB, free: 134.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (61): * Single equations (assignments): 56 * 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.0003979/0.9665, allocations: 212.1 kB / 1.092 GB, free: 134.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/0.9667, allocations: 69.66 kB / 1.092 GB, free: 134.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009349/0.9676, allocations: 0.5934 MB / 1.093 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.9676, allocations: 3.969 kB / 1.093 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.9677, allocations: 0 / 1.093 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.9677, allocations: 7.938 kB / 1.093 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.9692, allocations: 1.249 MB / 1.094 GB, free: 133.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.9692, allocations: 6.078 kB / 1.094 GB, free: 133.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.9695, allocations: 55.55 kB / 1.094 GB, free: 133.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003569/0.9698, allocations: 145.6 kB / 1.094 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.9699, allocations: 9.906 kB / 1.094 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/0.9719, allocations: 4.055 MB / 1.098 GB, free: 129.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.9719, allocations: 6.75 kB / 1.098 GB, free: 129.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008139/0.9727, allocations: 0.7978 MB / 1.099 GB, free: 128.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002295/0.973, allocations: 169.3 kB / 1.099 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.008e-05/0.9731, allocations: 7.969 kB / 1.099 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/0.9733, allocations: 22.69 kB / 1.099 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.192e-05/0.9734, allocations: 34.61 kB / 1.099 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.9734, allocations: 11.81 kB / 1.099 GB, free: 128.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002826/0.9737, allocations: 333.9 kB / 1.1 GB, free: 128.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.9737, allocations: 0 / 1.1 GB, free: 128.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000621/0.9743, allocations: 143.8 kB / 1.1 GB, free: 128.4 MB / 0.698 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.001081/0.9754, allocations: 1.845 MB / 1.102 GB, free: 126.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001153/0.9766, allocations: 1.013 MB / 1.103 GB, free: 125.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.9766, allocations: 0 / 1.103 GB, free: 125.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006391/0.9772, allocations: 0.7279 MB / 1.103 GB, free: 125.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007885/0.978, allocations: 185.7 kB / 1.103 GB, free: 125.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004929/0.983, allocations: 8.266 MB / 1.111 GB, free: 118 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.9833, allocations: 0.9259 MB / 1.112 GB, free: 117.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003741/0.9837, allocations: 117.2 kB / 1.112 GB, free: 117 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.9839, allocations: 191.4 kB / 1.113 GB, free: 116.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.112e-06/0.9839, allocations: 0 / 1.113 GB, free: 116.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.024/1.008, allocations: 12.24 MB / 1.125 GB, free: 104.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001582/1.008, allocations: 225.9 kB / 1.125 GB, free: 104.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.636/3.644, allocations: 0 / 1.125 GB, free: 104.6 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)