Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001068/0.001068, allocations: 193 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.1 MB / 222 MB, free: 4.953 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.768/1.768, allocations: 292.3 MB / 0.5484 GB, free: 13.69 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.001444/0.001444, allocations: 65.22 kB / 0.6708 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2306, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.006928/0.2376, allocations: 4.668 MB / 0.7872 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00346/0.2411, allocations: 2.222 MB / 0.7894 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002879/0.2414, allocations: 7.938 kB / 0.7894 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.2429, allocations: 0.5101 MB / 0.7899 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006306/0.2436, allocations: 247 kB / 0.7901 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008385/0.2444, allocations: 319.3 kB / 0.7905 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008304/0.2453, allocations: 0.8064 MB / 0.7912 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000633/0.2459, allocations: 380.4 kB / 0.7916 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003445/0.2463, allocations: 203.2 kB / 0.7918 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000494/0.2468, allocations: 287.1 kB / 0.7921 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.823e-05/0.2468, allocations: 24 kB / 0.7921 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005322/0.2474, allocations: 295.4 kB / 0.7924 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.2476, allocations: 175.5 kB / 0.7925 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002458/0.2478, allocations: 206.9 kB / 0.7927 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008264/0.2487, allocations: 0.6424 MB / 0.7934 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.2487, allocations: 0 / 0.7934 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2487, allocations: 0 / 0.7934 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.164e-05/0.2487, allocations: 0 / 0.7934 GB, free: 3.031 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001643/0.2504, allocations: 0.7136 MB / 0.7941 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.2504, allocations: 12.03 kB / 0.7941 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.2515, allocations: 136.2 kB / 0.7942 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005128/0.252, allocations: 324.4 kB / 0.7945 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.271e-05/0.2521, allocations: 33.36 kB / 0.7945 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.551e-05/0.2522, allocations: 32.38 kB / 0.7946 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009952/0.2532, allocations: 0.6263 MB / 0.7952 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.2532, allocations: 4 kB / 0.7952 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.244e-05/0.2533, allocations: 19.98 kB / 0.7952 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.119e-05/0.2534, allocations: 44.62 kB / 0.7953 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007438/0.2541, allocations: 478.1 kB / 0.7957 GB, free: 496 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003556/0.2577, allocations: 3.409 MB / 0.799 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007089/0.2584, allocations: 381 kB / 0.7994 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/0.2587, allocations: 165.6 kB / 0.7996 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.2587, allocations: 12.39 kB / 0.7996 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.2587, allocations: 38.48 kB / 0.7996 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 2.144e-06/0.2587, allocations: 4 kB / 0.7996 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=26): time 0.005021/0.2638, allocations: 1.454 MB / 0.801 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/0.2639, allocations: 85.11 kB / 0.8011 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004604/0.2643, allocations: 332.3 kB / 0.8014 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.2644, allocations: 29.7 kB / 0.8015 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.2646, allocations: 255.3 kB / 0.8017 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.2647, allocations: 94.64 kB / 0.8018 GB, free: 9.84 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.2649, allocations: 98.14 kB / 0.8019 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.265, allocations: 334.8 kB / 0.8022 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000307/0.2654, allocations: 187 kB / 0.8024 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/0.2658, allocations: 342 kB / 0.8027 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006898/0.2665, allocations: 0.5358 MB / 0.8032 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2665, allocations: 0 / 0.8032 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002475/0.269, allocations: 0.9089 MB / 0.8041 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.524e-05/0.269, allocations: 11.94 kB / 0.8041 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.269, allocations: 7.938 kB / 0.8041 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002479/0.2715, allocations: 0.5091 MB / 0.8046 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004082/0.2719, allocations: 91.88 kB / 0.8047 GB, free: 6.656 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006224/0.2782, allocations: 3.76 MB / 0.8084 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005294/0.2787, allocations: 39.8 kB / 0.8084 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.503e-05/0.2788, allocations: 24 kB / 0.8085 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005653/0.2794, allocations: 313.7 kB / 0.8088 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004266/0.2799, allocations: 319.9 kB / 0.8091 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006024/0.2805, allocations: 0.5028 MB / 0.8096 GB, free: 1.281 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.911e-06/0.2805, allocations: 4 kB / 0.8096 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.000847/0.2814, allocations: 0.5319 MB / 0.8101 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.2814, allocations: 4.781 kB / 0.8101 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2814, allocations: 8 kB / 0.8101 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.2814, allocations: 15.98 kB / 0.8101 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000417/0.2818, allocations: 111.8 kB / 0.8102 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.2819, allocations: 8 kB / 0.8102 GB, free: 0.5938 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/0.2822, allocations: 35.83 kB / 0.8102 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-05/0.2822, allocations: 23.98 kB / 0.8103 GB, free: 0.5352 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002138/0.2825, allocations: 212 kB / 0.8105 GB, free: 328 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.2826, allocations: 35.62 kB / 0.8105 GB, free: 292 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00182/0.2844, allocations: 0.6762 MB / 0.8112 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.2844, allocations: 0 / 0.8112 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2844, allocations: 4 kB / 0.8112 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2844, allocations: 0 / 0.8112 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.2855, allocations: 0.6597 MB / 0.8118 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.2855, allocations: 0 / 0.8118 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.2857, allocations: 51.84 kB / 0.8119 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001606/0.2873, allocations: 397.3 kB / 0.8122 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.653e-05/0.2874, allocations: 7.984 kB / 0.8123 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004533/0.2919, allocations: 3.474 MB / 0.8156 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.292, allocations: 7.969 kB / 0.8157 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.2938, allocations: 0.8298 MB / 0.8165 GB, free: 9.801 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/0.294, allocations: 132.7 kB / 0.8166 GB, free: 9.652 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.932e-05/0.2941, allocations: 12 kB / 0.8166 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.2944, allocations: 35.94 kB / 0.8166 GB, free: 9.605 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.324e-05/0.2945, allocations: 27.91 kB / 0.8167 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.2946, allocations: 12 kB / 0.8167 GB, free: 9.566 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002668/0.2948, allocations: 227 kB / 0.8169 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.11e-07/0.2948, allocations: 4 kB / 0.8169 GB, free: 9.344 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009845/0.2958, allocations: 192 kB / 0.8171 GB, free: 9.156 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002131/0.296, allocations: 117.9 kB / 0.8172 GB, free: 9.031 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001781/0.2978, allocations: 0.9567 MB / 0.8181 GB, free: 8.051 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2979, allocations: 4.125 kB / 0.8181 GB, free: 8.047 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000725/0.2986, allocations: 481 kB / 0.8186 GB, free: 7.551 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006095/0.2992, allocations: 65.25 kB / 0.8186 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.3008, allocations: 0.9169 MB / 0.8195 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004681/0.3013, allocations: 0.8507 MB / 0.8204 GB, free: 5.664 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004317/0.3017, allocations: 139.3 kB / 0.8205 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.369e-05/0.3018, allocations: 27.44 kB / 0.8205 GB, free: 5.504 MB / 0.6387 GB Notification: Performance of SimCode: time 5.21e-07/0.3018, allocations: 0 / 0.8205 GB, free: 5.504 MB / 0.6387 GB Notification: Performance of Templates: time 0.01198/0.3138, allocations: 6.856 MB / 0.8272 GB, free: 14.68 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)