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.00107/0.00107, allocations: 103.7 kB / 15.98 MB, free: 6.348 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.001129/0.001129, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.328/1.328, allocations: 205.1 MB / 222.8 MB, free: 4.711 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.636/1.636, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.002317/0.002317, allocations: 73.77 kB / 0.6717 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.249, allocations: 114.5 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004208/0.2533, allocations: 2.676 MB / 0.7861 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002292/0.2556, allocations: 1.516 MB / 0.7876 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.2558, allocations: 7.938 kB / 0.7876 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008289/0.2566, allocations: 207.3 kB / 0.7878 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004836/0.2571, allocations: 179.4 kB / 0.788 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.2575, allocations: 131.7 kB / 0.7881 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002673/0.2578, allocations: 227.3 kB / 0.7883 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003609/0.2581, allocations: 197.8 kB / 0.7885 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.2583, allocations: 99.67 kB / 0.7886 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.2585, allocations: 119.5 kB / 0.7887 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.2586, allocations: 16 kB / 0.7887 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003234/0.2589, allocations: 223.5 kB / 0.789 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.592e-05/0.259, allocations: 71.8 kB / 0.789 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.338e-05/0.2591, allocations: 87.59 kB / 0.7891 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.2594, allocations: 255.3 kB / 0.7894 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2594, allocations: 0 / 0.7894 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2594, allocations: 4 kB / 0.7894 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.2594, allocations: 0 / 0.7894 GB, free: 7.891 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.0007221/0.2601, allocations: 491.1 kB / 0.7898 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.2602, allocations: 8.031 kB / 0.7898 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005919/0.2608, allocations: 76.66 kB / 0.7899 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.261, allocations: 235.9 kB / 0.7901 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.261, allocations: 12.7 kB / 0.7901 GB, free: 7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.221e-05/0.2611, allocations: 20.36 kB / 0.7902 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004563/0.2615, allocations: 328.1 kB / 0.7905 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.2616, allocations: 0 / 0.7905 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/0.2616, allocations: 15.98 kB / 0.7905 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.702e-05/0.2616, allocations: 16.27 kB / 0.7905 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003647/0.262, allocations: 256.6 kB / 0.7908 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.2636, allocations: 1.63 MB / 0.7923 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006112/0.2642, allocations: 411.2 kB / 0.7927 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.2643, allocations: 89.66 kB / 0.7928 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001463/0.2645, allocations: 93.03 kB / 0.7929 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/0.2645, allocations: 34.56 kB / 0.7929 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.2645, allocations: 0 / 0.7929 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0006181/0.2652, allocations: 320.5 kB / 0.7932 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.2652, allocations: 77.11 kB / 0.7933 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.2654, allocations: 175.2 kB / 0.7935 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.2654, allocations: 29.7 kB / 0.7935 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.882e-05/0.2655, allocations: 151.8 kB / 0.7937 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.2655, allocations: 39.36 kB / 0.7937 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.094e-05/0.2656, allocations: 53.89 kB / 0.7938 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2657, allocations: 322.8 kB / 0.7941 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.2659, allocations: 84.8 kB / 0.7941 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.266, allocations: 164.1 kB / 0.7943 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.2663, allocations: 238.3 kB / 0.7945 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.2663, allocations: 0 / 0.7945 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003898/0.2667, allocations: 277.4 kB / 0.7948 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.2668, allocations: 4 kB / 0.7948 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.2668, allocations: 4 kB / 0.7948 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.2668, allocations: 7.938 kB / 0.7948 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.267, allocations: 59.84 kB / 0.7949 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.267, allocations: 7.984 kB / 0.7949 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.2672, allocations: 15.92 kB / 0.7949 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.2672, allocations: 12 kB / 0.7949 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001793/0.2674, allocations: 172.1 kB / 0.7951 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001436/0.2675, allocations: 150.2 kB / 0.7952 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000251/0.2678, allocations: 233.4 kB / 0.7954 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.372e-06/0.2678, allocations: 4 kB / 0.7954 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003348/0.2682, allocations: 245.2 kB / 0.7957 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.2682, allocations: 8 kB / 0.7957 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-06/0.2682, allocations: 0 / 0.7957 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.438e-06/0.2682, allocations: 4.188 kB / 0.7957 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.2684, allocations: 64.17 kB / 0.7957 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2684, allocations: 15.88 kB / 0.7957 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.2685, allocations: 11.98 kB / 0.7958 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.2685, allocations: 16 kB / 0.7958 GB, free: 0.7422 MB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.2687, allocations: 184.3 kB / 0.796 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.474e-05/0.2687, allocations: 15.84 kB / 0.796 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000344/0.2691, allocations: 215.6 kB / 0.7962 GB, free: 324 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.2691, allocations: 0 / 0.7962 GB, free: 324 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2691, allocations: 4 kB / 0.7962 GB, free: 320 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.2691, allocations: 0 / 0.7962 GB, free: 320 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.2703, allocations: 0.9573 MB / 0.7971 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2703, allocations: 4 kB / 0.7971 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.2704, allocations: 40.34 kB / 0.7972 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.2704, allocations: 12 kB / 0.7972 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.2705, allocations: 4 kB / 0.7972 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.2705, allocations: 8.094 kB / 0.7972 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.2705, allocations: 7.938 kB / 0.7972 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.2709, allocations: 436.8 kB / 0.7976 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.014e-05/0.271, allocations: 108.8 kB / 0.7977 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.271, allocations: 11.98 kB / 0.7977 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.2712, allocations: 11.98 kB / 0.7977 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.2712, allocations: 23.86 kB / 0.7978 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.2712, allocations: 8 kB / 0.7978 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001032/0.2714, allocations: 131.8 kB / 0.7979 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2714, allocations: 0 / 0.7979 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005073/0.2719, allocations: 72 kB / 0.798 GB, free: 14.31 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00015/0.272, allocations: 111.2 kB / 0.7981 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004821/0.2725, allocations: 311.4 kB / 0.7984 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2725, allocations: 0 / 0.7984 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.2726, allocations: 79.83 kB / 0.7984 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.2731, allocations: 43.56 kB / 0.7985 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007984/0.2739, allocations: 0.5923 MB / 0.7991 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.2743, allocations: 0.7402 MB / 0.7998 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.396e-05/0.2744, allocations: 15.44 kB / 0.7998 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.2744, allocations: 4 kB / 0.7998 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of Templates: time 0.003925/0.2783, allocations: 2.358 MB / 0.8021 GB, free: 9.977 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (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)