Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008684/0.0008686, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001054/0.001054, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.678/1.678, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.000549/0.0005492, allocations: 12.62 kB / 0.6737 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2359, allocations: 116.3 MB / 0.7873 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003406/0.2393, allocations: 2.255 MB / 0.7895 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002078/0.2415, allocations: 1.412 MB / 0.7909 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.395e-05/0.2416, allocations: 4 kB / 0.7909 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.2417, allocations: 23.78 kB / 0.7909 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004077/0.2421, allocations: 139.4 kB / 0.791 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.2425, allocations: 115.8 kB / 0.7911 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003101/0.2428, allocations: 271.2 kB / 0.7914 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006131/0.2434, allocations: 314.4 kB / 0.7917 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.2436, allocations: 79.69 kB / 0.7918 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.2438, allocations: 103.6 kB / 0.7919 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.2438, allocations: 8 kB / 0.7919 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002422/0.2441, allocations: 127.8 kB / 0.792 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.643e-05/0.2441, allocations: 59.81 kB / 0.7921 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.215e-05/0.2442, allocations: 53.58 kB / 0.7921 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.2445, allocations: 243.7 kB / 0.7924 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2445, allocations: 3.938 kB / 0.7924 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2445, allocations: 0 / 0.7924 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.279e-06/0.2445, allocations: 0 / 0.7924 GB, free: 6.68 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006145/0.2451, allocations: 459.1 kB / 0.7928 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.2452, allocations: 12.03 kB / 0.7928 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000522/0.2457, allocations: 83.58 kB / 0.7929 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/0.2459, allocations: 230.7 kB / 0.7931 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.246, allocations: 12.33 kB / 0.7931 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.246, allocations: 12 kB / 0.7931 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004514/0.2465, allocations: 331.7 kB / 0.7934 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.2465, allocations: 0 / 0.7934 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.2465, allocations: 8 kB / 0.7935 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-05/0.2466, allocations: 24.27 kB / 0.7935 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003532/0.2469, allocations: 248.6 kB / 0.7937 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.2484, allocations: 1.626 MB / 0.7953 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005756/0.249, allocations: 419.1 kB / 0.7957 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.2491, allocations: 85.66 kB / 0.7958 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001324/0.2493, allocations: 89.09 kB / 0.7959 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.2493, allocations: 34.78 kB / 0.7959 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 3.988e-06/0.2493, allocations: 4 kB / 0.7959 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0005986/0.2499, allocations: 304.5 kB / 0.7962 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.25, allocations: 85.11 kB / 0.7963 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.2501, allocations: 167.3 kB / 0.7964 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.2502, allocations: 29.7 kB / 0.7965 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.392e-05/0.2502, allocations: 151.7 kB / 0.7966 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.2503, allocations: 55.33 kB / 0.7967 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.667e-05/0.2503, allocations: 4 kB / 0.7967 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.2504, allocations: 327 kB / 0.797 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.2505, allocations: 71.95 kB / 0.797 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.2507, allocations: 161.3 kB / 0.7972 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.2509, allocations: 107.3 kB / 0.7973 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2509, allocations: 0 / 0.7973 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003687/0.2512, allocations: 277.2 kB / 0.7976 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.986e-05/0.2513, allocations: 157.8 kB / 0.7977 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2513, allocations: 4 kB / 0.7977 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.2514, allocations: 4 kB / 0.7977 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.2516, allocations: 55.89 kB / 0.7978 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.2516, allocations: 4 kB / 0.7978 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.2518, allocations: 28.02 kB / 0.7978 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.2518, allocations: 8 kB / 0.7978 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.6e-06/0.2518, allocations: 7.938 kB / 0.7978 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002814/0.2521, allocations: 203.7 kB / 0.798 GB, free: 404 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2521, allocations: 8 kB / 0.798 GB, free: 396 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.461e-06/0.2521, allocations: 8.266 kB / 0.798 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.2523, allocations: 55.89 kB / 0.7981 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.2523, allocations: 4 kB / 0.7981 GB, free: 328 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.157e-05/0.2524, allocations: 19.92 kB / 0.7981 GB, free: 308 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.2524, allocations: 8 kB / 0.7981 GB, free: 300 kB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001378/0.2525, allocations: 217.1 kB / 0.7983 GB, free: 72 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.881e-05/0.2526, allocations: 11.81 kB / 0.7983 GB, free: 60 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003529/0.253, allocations: 215.7 kB / 0.7985 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.253, allocations: 0 / 0.7985 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.253, allocations: 4 kB / 0.7985 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.253, allocations: 3.984 kB / 0.7985 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.2541, allocations: 0.9496 MB / 0.7995 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.2541, allocations: 4 kB / 0.7995 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.2542, allocations: 36.34 kB / 0.7995 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.2543, allocations: 8 kB / 0.7995 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.2543, allocations: 12 kB / 0.7995 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.2543, allocations: 4 kB / 0.7995 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.2543, allocations: 7.938 kB / 0.7995 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003515/0.2546, allocations: 436.8 kB / 0.8 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.865e-05/0.2547, allocations: 116.8 kB / 0.8001 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.2548, allocations: 8 kB / 0.8001 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.2549, allocations: 11.98 kB / 0.8001 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.255, allocations: 23.88 kB / 0.8001 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.255, allocations: 8 kB / 0.8001 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 9.361e-05/0.2551, allocations: 135.7 kB / 0.8002 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2551, allocations: 0 / 0.8002 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004946/0.2556, allocations: 72 kB / 0.8003 GB, free: 13.82 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001415/0.2558, allocations: 111.1 kB / 0.8004 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004218/0.2562, allocations: 296.2 kB / 0.8007 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2562, allocations: 0 / 0.8007 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.2563, allocations: 87.75 kB / 0.8008 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.2568, allocations: 29.23 kB / 0.8008 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007604/0.2575, allocations: 0.5684 MB / 0.8014 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/0.258, allocations: 0.7402 MB / 0.8021 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001957/0.2582, allocations: 85.48 kB / 0.8022 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.04e-05/0.2582, allocations: 27.44 kB / 0.8022 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.2582, allocations: 3.938 kB / 0.8022 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of Templates: time 0.00411/0.2624, allocations: 1.663 MB / 0.8038 GB, free: 10.14 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) Environment - environmentSimulation: