Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001135/0.001135, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008897/0.008897, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001979/0.001979, allocations: 262.9 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.109/1.109, allocations: 178.9 MB / 0.5095 GB, free: 4.734 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004729/0.0004729, allocations: 19.72 kB / 0.6099 GB, free: 25.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1796, allocations: 90.72 MB / 0.6985 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.005727/0.1853, allocations: 4.278 MB / 0.7027 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003866/0.1892, allocations: 2.335 MB / 0.705 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.1894, allocations: 7.938 kB / 0.705 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002242/0.1896, allocations: 68.08 kB / 0.705 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006254/0.1902, allocations: 268.9 kB / 0.7053 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007367/0.191, allocations: 319.4 kB / 0.7056 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008681/0.1919, allocations: 0.8111 MB / 0.7064 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.1931, allocations: 0.6562 MB / 0.707 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/0.1934, allocations: 179.3 kB / 0.7072 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004414/0.1938, allocations: 263 kB / 0.7075 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.08e-05/0.1939, allocations: 20 kB / 0.7075 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005275/0.1944, allocations: 319.4 kB / 0.7078 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001649/0.1946, allocations: 151.6 kB / 0.7079 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000227/0.1948, allocations: 228.6 kB / 0.7081 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007381/0.1955, allocations: 0.6463 MB / 0.7088 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1956, allocations: 0 / 0.7088 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1956, allocations: 0 / 0.7088 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.1956, allocations: 0 / 0.7088 GB, free: 8.09 MB / 0.4981 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.00109/0.1967, allocations: 0.6356 MB / 0.7094 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.1967, allocations: 8.031 kB / 0.7094 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.198, allocations: 156.3 kB / 0.7096 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/0.1984, allocations: 336.4 kB / 0.7099 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/0.1985, allocations: 37.3 kB / 0.7099 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.065e-05/0.1986, allocations: 36.38 kB / 0.7099 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.1996, allocations: 0.6302 MB / 0.7106 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.1996, allocations: 7.938 kB / 0.7106 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.482e-05/0.1997, allocations: 19.98 kB / 0.7106 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.104e-05/0.1998, allocations: 48.61 kB / 0.7106 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009181/0.2007, allocations: 486.1 kB / 0.7111 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003983/0.2047, allocations: 3.444 MB / 0.7145 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007705/0.2055, allocations: 376.8 kB / 0.7148 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002698/0.2058, allocations: 173.6 kB / 0.715 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.2058, allocations: 3.984 kB / 0.715 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.492e-05/0.2059, allocations: 38.56 kB / 0.715 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 3.627e-06/0.2059, allocations: 0 / 0.715 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26): time 0.005024/0.2109, allocations: 1.473 MB / 0.7165 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.211, allocations: 81.11 kB / 0.7165 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004474/0.2114, allocations: 336.4 kB / 0.7169 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.2115, allocations: 29.7 kB / 0.7169 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.2117, allocations: 255.3 kB / 0.7171 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.581e-05/0.2118, allocations: 102.7 kB / 0.7172 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.363e-05/0.2119, allocations: 41.7 kB / 0.7173 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.212, allocations: 338.8 kB / 0.7176 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003528/0.2124, allocations: 185 kB / 0.7178 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004948/0.2129, allocations: 350 kB / 0.7181 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008141/0.2137, allocations: 0.5324 MB / 0.7186 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.2137, allocations: 4 kB / 0.7186 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002635/0.2164, allocations: 0.9237 MB / 0.7195 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002183/0.2166, allocations: 253 kB / 0.7198 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.2166, allocations: 8 kB / 0.7198 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002502/0.2191, allocations: 0.501 MB / 0.7203 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/0.2196, allocations: 103.8 kB / 0.7204 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006182/0.2258, allocations: 3.778 MB / 0.7241 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004898/0.2263, allocations: 51.86 kB / 0.7241 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.237e-05/0.2263, allocations: 27.98 kB / 0.7241 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.2263, allocations: 5.25 kB / 0.7241 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000903/0.2273, allocations: 487.4 kB / 0.7246 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/0.2273, allocations: 7.984 kB / 0.7246 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/0.2273, allocations: 8 kB / 0.7246 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000444/0.2277, allocations: 115.8 kB / 0.7247 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.2278, allocations: 12.5 kB / 0.7247 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003347/0.2281, allocations: 43.81 kB / 0.7248 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-05/0.2282, allocations: 23.94 kB / 0.7248 GB, free: 6.594 MB / 0.5137 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.0003216/0.2285, allocations: 276.8 kB / 0.7251 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.996e-05/0.2286, allocations: 31.62 kB / 0.7251 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/0.2305, allocations: 0.6714 MB / 0.7258 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.2305, allocations: 4 kB / 0.7258 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.2305, allocations: 0 / 0.7258 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.2305, allocations: 4 kB / 0.7258 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009821/0.2315, allocations: 0.6598 MB / 0.7264 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2315, allocations: 4.094 kB / 0.7264 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.2317, allocations: 39.97 kB / 0.7265 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001671/0.2334, allocations: 409.2 kB / 0.7268 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.2334, allocations: 7.938 kB / 0.7269 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004388/0.2378, allocations: 3.478 MB / 0.7302 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2378, allocations: 3.938 kB / 0.7303 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.2397, allocations: 0.822 MB / 0.7311 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.2399, allocations: 156.5 kB / 0.7312 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.2399, allocations: 8 kB / 0.7312 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/0.2404, allocations: 35.94 kB / 0.7312 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.869e-05/0.2404, allocations: 23.97 kB / 0.7313 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.2405, allocations: 8 kB / 0.7313 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003241/0.2408, allocations: 235 kB / 0.7315 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2408, allocations: 4 kB / 0.7315 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008626/0.2417, allocations: 196 kB / 0.7317 GB, free: 15.13 MB / 0.5294 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.0001708/0.2419, allocations: 115.1 kB / 0.7318 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001815/0.2437, allocations: 0.9684 MB / 0.7327 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.2437, allocations: 4.062 kB / 0.7328 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008169/0.2445, allocations: 484.6 kB / 0.7332 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006264/0.2452, allocations: 72.89 kB / 0.7333 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.2465, allocations: 0.9279 MB / 0.7342 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005271/0.2471, allocations: 0.8431 MB / 0.735 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004588/0.2475, allocations: 143.1 kB / 0.7351 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.815e-05/0.2476, allocations: 31.42 kB / 0.7352 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.2476, allocations: 0 / 0.7352 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of Templates: time 0.01293/0.2606, allocations: 6.898 MB / 0.7419 GB, free: 4.594 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)