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.509/1.509, allocations: 251.9 MB / 266.9 MB, free: 10.99 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.001118/0.001119, allocations: 175.3 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.013/2.013, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009647/0.0009646, allocations: 91.81 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003489, allocations: 10.67 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2237, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.003964/0.2278, allocations: 4.155 MB / 0.9042 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00278/0.2306, allocations: 2.361 MB / 0.9065 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000263/0.2309, allocations: 23.81 kB / 0.9065 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.2311, allocations: 71.39 kB / 0.9066 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008795/0.2319, allocations: 366.9 kB / 0.907 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007634/0.2327, allocations: 306.2 kB / 0.9072 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000592/0.2333, allocations: 0.5913 MB / 0.9078 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005476/0.2339, allocations: 432.1 kB / 0.9082 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.2342, allocations: 266.9 kB / 0.9085 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003004/0.2345, allocations: 286.8 kB / 0.9088 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.885e-05/0.2345, allocations: 20 kB / 0.9088 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002882/0.2348, allocations: 147.7 kB / 0.9089 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.972e-05/0.2349, allocations: 139.6 kB / 0.9091 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.962e-05/0.235, allocations: 137.3 kB / 0.9092 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004249/0.2354, allocations: 0.6041 MB / 0.9098 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.175e-06/0.2354, allocations: 0 / 0.9098 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.504e-06/0.2355, allocations: 0 / 0.9098 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.2355, allocations: 0 / 0.9098 GB, free: 53.91 MB / 0.6042 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.0009754/0.2364, allocations: 0.8255 MB / 0.9106 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.2365, allocations: 8.031 kB / 0.9106 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.285e-05/0.2366, allocations: 98.48 kB / 0.9107 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008176/0.2374, allocations: 175 kB / 0.9109 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006078/0.238, allocations: 497.2 kB / 0.9113 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.238, allocations: 36.98 kB / 0.9114 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.927e-05/0.2381, allocations: 43.98 kB / 0.9114 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007847/0.2389, allocations: 0.8364 MB / 0.9122 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.2389, allocations: 7.938 kB / 0.9122 GB, free: 51.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.33e-05/0.239, allocations: 27.98 kB / 0.9123 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.291e-05/0.2391, allocations: 64.95 kB / 0.9123 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006178/0.2397, allocations: 0.5655 MB / 0.9129 GB, free: 50.51 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002896/0.2426, allocations: 5.654 MB / 0.9184 GB, free: 44.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004792/0.2431, allocations: 452.3 kB / 0.9188 GB, free: 44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.2431, allocations: 4 kB / 0.9188 GB, free: 44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.2431, allocations: 39.05 kB / 0.9189 GB, free: 43.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 1.984e-06/0.2431, allocations: 0 / 0.9189 GB, free: 43.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001948/0.2451, allocations: 1.508 MB / 0.9203 GB, free: 42.33 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.2451, allocations: 55.41 kB / 0.9204 GB, free: 42.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003434/0.2455, allocations: 0.499 MB / 0.9209 GB, free: 41.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.2455, allocations: 29.7 kB / 0.9209 GB, free: 41.72 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.2457, allocations: 358.8 kB / 0.9213 GB, free: 41.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.826e-05/0.2457, allocations: 122.3 kB / 0.9214 GB, free: 41.24 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-05/0.2458, allocations: 12 kB / 0.9214 GB, free: 41.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.503e-05/0.2458, allocations: 366.8 kB / 0.9217 GB, free: 40.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.2461, allocations: 197.1 kB / 0.9219 GB, free: 40.67 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/0.2463, allocations: 443 kB / 0.9223 GB, free: 40.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002699/0.2466, allocations: 260.1 kB / 0.9226 GB, free: 39.87 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2466, allocations: 4 kB / 0.9226 GB, free: 39.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009236/0.2476, allocations: 0.7979 MB / 0.9234 GB, free: 39.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.2476, allocations: 18.88 kB / 0.9234 GB, free: 39.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.2476, allocations: 11.94 kB / 0.9234 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004044/0.248, allocations: 152.1 kB / 0.9235 GB, free: 38.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/0.2484, allocations: 123.8 kB / 0.9237 GB, free: 38.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/0.2505, allocations: 4.071 MB / 0.9276 GB, free: 34.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003441/0.2508, allocations: 39.91 kB / 0.9277 GB, free: 34.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.2509, allocations: 28 kB / 0.9277 GB, free: 34.2 MB / 0.6042 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.0001946/0.2511, allocations: 213.8 kB / 0.9279 GB, free: 33.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.677e-05/0.2511, allocations: 59.25 kB / 0.928 GB, free: 33.92 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007815/0.2519, allocations: 0.6046 MB / 0.9286 GB, free: 33.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.2519, allocations: 15.94 kB / 0.9286 GB, free: 33.28 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.252, allocations: 0 / 0.9286 GB, free: 33.28 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.252, allocations: 4 kB / 0.9286 GB, free: 33.28 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.2533, allocations: 1.246 MB / 0.9298 GB, free: 31.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2533, allocations: 7.953 kB / 0.9298 GB, free: 31.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.2535, allocations: 55.89 kB / 0.9299 GB, free: 31.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000323/0.2539, allocations: 136.4 kB / 0.93 GB, free: 31.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.2539, allocations: 12 kB / 0.93 GB, free: 31.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.2558, allocations: 4.048 MB / 0.9339 GB, free: 27.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2558, allocations: 4.062 kB / 0.9339 GB, free: 27.26 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007507/0.2566, allocations: 0.7946 MB / 0.9347 GB, free: 26.37 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.2567, allocations: 168.3 kB / 0.9349 GB, free: 26.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.468e-05/0.2568, allocations: 8 kB / 0.9349 GB, free: 26.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.257, allocations: 23.97 kB / 0.9349 GB, free: 26.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.2571, allocations: 35.84 kB / 0.935 GB, free: 26.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.2571, allocations: 12 kB / 0.935 GB, free: 26.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002449/0.2574, allocations: 334.8 kB / 0.9353 GB, free: 25.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2574, allocations: 4 kB / 0.9353 GB, free: 25.78 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005289/0.2579, allocations: 136 kB / 0.9354 GB, free: 25.65 MB / 0.6042 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.0009904/0.2589, allocations: 1.818 MB / 0.9372 GB, free: 23.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.2599, allocations: 1.029 MB / 0.9382 GB, free: 22.63 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.26, allocations: 4.125 kB / 0.9382 GB, free: 22.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006052/0.2606, allocations: 0.7341 MB / 0.9389 GB, free: 21.81 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007034/0.2613, allocations: 187.4 kB / 0.9391 GB, free: 21.63 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004234/0.2655, allocations: 9.044 MB / 0.9479 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.2658, allocations: 0.9259 MB / 0.9488 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003114/0.2661, allocations: 117.3 kB / 0.9489 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.2663, allocations: 195.4 kB / 0.9491 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of SimCode: time 6.61e-07/0.2663, allocations: 0 / 0.9491 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/0.2884, allocations: 12.2 MB / 0.961 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/0.2887, allocations: 237.1 kB / 0.9613 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.27/2.559, allocations: 4.062 kB / 0.9613 GB, free: 14.91 MB / 0.6198 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)