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.488/1.488, allocations: 252 MB / 267 MB, free: 10.96 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.001036/0.001036, allocations: 180.9 kB / 326.6 MB, free: 2.223 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.929/1.929, allocations: 205.4 MB / 0.5777 GB, free: 20.22 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.0009172/0.0009172, allocations: 92.06 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006062/0.0006068, allocations: 9.938 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2217, allocations: 106.4 MB / 0.9003 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.003939/0.2257, allocations: 4.302 MB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003113/0.2288, allocations: 2.376 MB / 0.9068 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000512/0.2294, allocations: 19.81 kB / 0.9069 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003458/0.2297, allocations: 87.22 kB / 0.9069 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0009863/0.2307, allocations: 354.1 kB / 0.9073 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007752/0.2315, allocations: 306.1 kB / 0.9076 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0009278/0.2324, allocations: 0.9757 MB / 0.9085 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000706/0.2332, allocations: 420.3 kB / 0.9089 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004505/0.2336, allocations: 294.6 kB / 0.9092 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004338/0.2341, allocations: 318.6 kB / 0.9095 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.723e-05/0.2342, allocations: 20 kB / 0.9095 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000493/0.2347, allocations: 203.7 kB / 0.9097 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.2348, allocations: 155.5 kB / 0.9099 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.235, allocations: 145.3 kB / 0.91 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006156/0.2356, allocations: 0.6392 MB / 0.9106 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2356, allocations: 4 kB / 0.9106 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2356, allocations: 0 / 0.9106 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.001e-05/0.2357, allocations: 0 / 0.9106 GB, free: 53.14 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.001236/0.2369, allocations: 0.845 MB / 0.9115 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.237, allocations: 8.031 kB / 0.9115 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001187/0.2371, allocations: 94.5 kB / 0.9116 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.2383, allocations: 202.8 kB / 0.9118 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006511/0.239, allocations: 497.2 kB / 0.9122 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.239, allocations: 36.98 kB / 0.9123 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.948e-05/0.2391, allocations: 40 kB / 0.9123 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009342/0.24, allocations: 0.8442 MB / 0.9131 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/0.2401, allocations: 7.938 kB / 0.9131 GB, free: 50.35 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.765e-05/0.2401, allocations: 31.92 kB / 0.9132 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.419e-05/0.2402, allocations: 64.95 kB / 0.9132 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007948/0.241, allocations: 0.5655 MB / 0.9138 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003878/0.2449, allocations: 5.647 MB / 0.9193 GB, free: 43.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005312/0.2455, allocations: 458.3 kB / 0.9197 GB, free: 43.19 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.2458, allocations: 225.3 kB / 0.9199 GB, free: 42.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.2458, allocations: 3.953 kB / 0.92 GB, free: 42.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.2458, allocations: 46.48 kB / 0.92 GB, free: 42.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 2.945e-06/0.2458, allocations: 0 / 0.92 GB, free: 42.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.002314/0.2482, allocations: 1.501 MB / 0.9215 GB, free: 41.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.2482, allocations: 59.34 kB / 0.9215 GB, free: 41.22 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004514/0.2487, allocations: 0.4912 MB / 0.922 GB, free: 40.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.2487, allocations: 33.7 kB / 0.922 GB, free: 40.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.2489, allocations: 358.8 kB / 0.9224 GB, free: 40.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.01e-05/0.249, allocations: 126.3 kB / 0.9225 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/0.249, allocations: 12 kB / 0.9225 GB, free: 40.19 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.684e-05/0.2491, allocations: 362.8 kB / 0.9228 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/0.2493, allocations: 201.1 kB / 0.923 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003215/0.2496, allocations: 443 kB / 0.9235 GB, free: 39.08 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/0.25, allocations: 260.1 kB / 0.9237 GB, free: 38.83 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/0.25, allocations: 0 / 0.9237 GB, free: 38.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001075/0.251, allocations: 0.8009 MB / 0.9245 GB, free: 38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.2511, allocations: 9 kB / 0.9245 GB, free: 38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.2511, allocations: 12 kB / 0.9245 GB, free: 37.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004485/0.2515, allocations: 160.1 kB / 0.9247 GB, free: 37.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004186/0.252, allocations: 123.8 kB / 0.9248 GB, free: 37.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/0.2542, allocations: 4.044 MB / 0.9287 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003988/0.2546, allocations: 31.92 kB / 0.9288 GB, free: 33.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.2546, allocations: 31.98 kB / 0.9288 GB, free: 33.19 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.0002199/0.2548, allocations: 213.7 kB / 0.929 GB, free: 32.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.012e-05/0.2549, allocations: 67.2 kB / 0.9291 GB, free: 32.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008234/0.2557, allocations: 0.5929 MB / 0.9296 GB, free: 32.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.2558, allocations: 7.953 kB / 0.9296 GB, free: 32.28 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.2558, allocations: 8 kB / 0.9297 GB, free: 32.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2558, allocations: 7.984 kB / 0.9297 GB, free: 32.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.2572, allocations: 1.257 MB / 0.9309 GB, free: 30.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2572, allocations: 0 / 0.9309 GB, free: 30.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.2575, allocations: 55.89 kB / 0.9309 GB, free: 30.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003483/0.2578, allocations: 140.2 kB / 0.9311 GB, free: 30.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.2578, allocations: 8 kB / 0.9311 GB, free: 30.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001961/0.2598, allocations: 4.024 MB / 0.935 GB, free: 26.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2598, allocations: 4 kB / 0.935 GB, free: 26.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008173/0.2607, allocations: 0.7206 MB / 0.9357 GB, free: 25.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/0.2608, allocations: 168.3 kB / 0.9359 GB, free: 25.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.575e-05/0.2609, allocations: 8 kB / 0.9359 GB, free: 25.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.2612, allocations: 19.97 kB / 0.9359 GB, free: 25.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.2612, allocations: 31.95 kB / 0.9359 GB, free: 25.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.2612, allocations: 8 kB / 0.9359 GB, free: 25.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002869/0.2615, allocations: 338.8 kB / 0.9363 GB, free: 24.92 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2615, allocations: 3.938 kB / 0.9363 GB, free: 24.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005855/0.2621, allocations: 140 kB / 0.9364 GB, free: 24.78 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.0009408/0.2631, allocations: 1.265 MB / 0.9376 GB, free: 23.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001121/0.2642, allocations: 1.033 MB / 0.9387 GB, free: 22.34 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2642, allocations: 0 / 0.9387 GB, free: 22.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006409/0.2649, allocations: 0.7269 MB / 0.9394 GB, free: 21.53 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009186/0.2658, allocations: 186 kB / 0.9395 GB, free: 21.35 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003829/0.2696, allocations: 3.485 MB / 0.9429 GB, free: 17.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.27, allocations: 0.9175 MB / 0.9438 GB, free: 16.71 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003415/0.2703, allocations: 113.3 kB / 0.9439 GB, free: 16.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.2705, allocations: 199.4 kB / 0.9441 GB, free: 16.41 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/0.2705, allocations: 3.938 kB / 0.9441 GB, free: 16.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.2932, allocations: 12.23 MB / 0.9561 GB, free: 4.465 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/0.2934, allocations: 243.1 kB / 0.9563 GB, free: 4.223 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.323/2.617, allocations: 0 / 0.9563 GB, free: 4.223 MB / 0.6042 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)