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.001454/0.001454, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002061/0.00206, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.571/1.571, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.726/1.726, allocations: 292.2 MB / 0.5485 GB, free: 13.63 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.001625/0.001625, allocations: 62.09 kB / 0.671 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2973, allocations: 114.5 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004944/0.3023, allocations: 2.682 MB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002689/0.305, allocations: 1.505 MB / 0.7869 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.3052, allocations: 4 kB / 0.787 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009167/0.3062, allocations: 219.2 kB / 0.7872 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005204/0.3067, allocations: 167.4 kB / 0.7873 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.3071, allocations: 135.7 kB / 0.7875 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003237/0.3075, allocations: 231.3 kB / 0.7877 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000413/0.3079, allocations: 202.7 kB / 0.7879 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.3081, allocations: 95.67 kB / 0.788 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002925/0.3084, allocations: 115.6 kB / 0.7881 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.663e-05/0.3084, allocations: 20 kB / 0.7881 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000371/0.3088, allocations: 223.5 kB / 0.7883 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.888e-05/0.3089, allocations: 71.8 kB / 0.7884 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.277e-05/0.309, allocations: 83.59 kB / 0.7884 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004517/0.3095, allocations: 342.9 kB / 0.7888 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3095, allocations: 0 / 0.7888 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3095, allocations: 0 / 0.7888 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.3095, allocations: 0 / 0.7888 GB, free: 7.789 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.0008231/0.3103, allocations: 495.1 kB / 0.7892 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.3104, allocations: 12.03 kB / 0.7893 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000592/0.311, allocations: 80.59 kB / 0.7893 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.3113, allocations: 235.9 kB / 0.7896 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.3113, allocations: 16.64 kB / 0.7896 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.124e-05/0.3113, allocations: 12.38 kB / 0.7896 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004712/0.3118, allocations: 332.1 kB / 0.7899 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.3118, allocations: 0 / 0.7899 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.3119, allocations: 4 kB / 0.7899 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.704e-05/0.3119, allocations: 24.27 kB / 0.7899 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000379/0.3123, allocations: 252.6 kB / 0.7902 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.3139, allocations: 1.634 MB / 0.7918 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000625/0.3146, allocations: 403.2 kB / 0.7922 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.3147, allocations: 93.61 kB / 0.7922 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/0.3149, allocations: 89.09 kB / 0.7923 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.3149, allocations: 38.55 kB / 0.7924 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.3149, allocations: 0 / 0.7924 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.000656/0.3156, allocations: 316.5 kB / 0.7927 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.3156, allocations: 85.3 kB / 0.7927 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.3158, allocations: 175.2 kB / 0.7929 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.3158, allocations: 29.7 kB / 0.7929 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.3159, allocations: 147.8 kB / 0.7931 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/0.316, allocations: 47.34 kB / 0.7931 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.29e-05/0.316, allocations: 49.7 kB / 0.7932 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.3161, allocations: 318.8 kB / 0.7935 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.3163, allocations: 96.73 kB / 0.7936 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.3165, allocations: 153.3 kB / 0.7937 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.3168, allocations: 248 kB / 0.794 GB, free: 2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.3168, allocations: 0 / 0.794 GB, free: 2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004068/0.3172, allocations: 277.1 kB / 0.7942 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3172, allocations: 4 kB / 0.7942 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3172, allocations: 4 kB / 0.7942 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.3173, allocations: 7.938 kB / 0.7942 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.3175, allocations: 56.16 kB / 0.7943 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.3175, allocations: 11.98 kB / 0.7943 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.3177, allocations: 19.92 kB / 0.7943 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.3177, allocations: 8 kB / 0.7943 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001633/0.3179, allocations: 176.1 kB / 0.7945 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001412/0.318, allocations: 150.2 kB / 0.7946 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002356/0.3183, allocations: 229 kB / 0.7949 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.963e-06/0.3183, allocations: 0 / 0.7949 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003284/0.3186, allocations: 253.3 kB / 0.7951 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/0.3186, allocations: 4.188 kB / 0.7951 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/0.3186, allocations: 4 kB / 0.7951 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.639e-06/0.3186, allocations: 7.938 kB / 0.7951 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.3188, allocations: 59.84 kB / 0.7952 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3188, allocations: 11.92 kB / 0.7952 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.3189, allocations: 4 kB / 0.7952 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.319, allocations: 15.98 kB / 0.7952 GB, free: 0.6367 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 9.75e-05/0.3191, allocations: 192.4 kB / 0.7954 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.426e-05/0.3191, allocations: 15.81 kB / 0.7954 GB, free: 436 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003323/0.3195, allocations: 207.7 kB / 0.7956 GB, free: 216 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3195, allocations: 0 / 0.7956 GB, free: 216 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3195, allocations: 0 / 0.7956 GB, free: 216 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3195, allocations: 4 kB / 0.7956 GB, free: 212 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.3207, allocations: 0.9691 MB / 0.7965 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.3207, allocations: 7.938 kB / 0.7966 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.3209, allocations: 31.97 kB / 0.7966 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.3209, allocations: 4 kB / 0.7966 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.3209, allocations: 8 kB / 0.7966 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.3209, allocations: 7.938 kB / 0.7966 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3209, allocations: 3.938 kB / 0.7966 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003635/0.3213, allocations: 437.2 kB / 0.797 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-05/0.3214, allocations: 108.8 kB / 0.7971 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.3214, allocations: 11.98 kB / 0.7971 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.3216, allocations: 11.98 kB / 0.7972 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.3217, allocations: 23.88 kB / 0.7972 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.3217, allocations: 11.98 kB / 0.7972 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001138/0.3218, allocations: 127.8 kB / 0.7973 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3218, allocations: 0 / 0.7973 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005013/0.3223, allocations: 72 kB / 0.7974 GB, free: 14.2 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.0001509/0.3225, allocations: 115.2 kB / 0.7975 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000454/0.3229, allocations: 303.5 kB / 0.7978 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.3229, allocations: 5.312 kB / 0.7978 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.3231, allocations: 80.45 kB / 0.7979 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004858/0.3235, allocations: 39.03 kB / 0.7979 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009255/0.3245, allocations: 0.5476 MB / 0.7984 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.3248, allocations: 0.7441 MB / 0.7992 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002013/0.325, allocations: 73.67 kB / 0.7992 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.038e-05/0.3251, allocations: 23.42 kB / 0.7992 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.3251, allocations: 0 / 0.7992 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of Templates: time 0.004632/0.3297, allocations: 1.809 MB / 0.801 GB, free: 10.4 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)