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.001332/0.001332, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 185.4 kB / 16.62 MB, free: 6.582 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.424/1.424, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.831/1.831, allocations: 292.3 MB / 0.5489 GB, free: 12.78 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.001499/0.001499, allocations: 72.59 kB / 0.6723 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.332, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.005958/0.338, allocations: 2.621 MB / 0.7867 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003343/0.3414, allocations: 1.52 MB / 0.7882 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002316/0.3417, allocations: 4 kB / 0.7882 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009271/0.3427, allocations: 231.1 kB / 0.7884 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006045/0.3433, allocations: 187.2 kB / 0.7886 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004577/0.3438, allocations: 147.6 kB / 0.7887 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003859/0.3442, allocations: 235.3 kB / 0.7889 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003681/0.3446, allocations: 169.3 kB / 0.7891 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002181/0.3448, allocations: 103.6 kB / 0.7892 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003151/0.3451, allocations: 107.6 kB / 0.7893 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.714e-05/0.3452, allocations: 12 kB / 0.7893 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004487/0.3456, allocations: 227.5 kB / 0.7895 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.3458, allocations: 75.81 kB / 0.7896 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.3459, allocations: 87.58 kB / 0.7897 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000548/0.3464, allocations: 334.9 kB / 0.79 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.3465, allocations: 0 / 0.79 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3465, allocations: 0 / 0.79 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.578e-05/0.3465, allocations: 0 / 0.79 GB, free: 6.703 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.0009005/0.3474, allocations: 487.1 kB / 0.7905 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.3475, allocations: 12.03 kB / 0.7905 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006518/0.3481, allocations: 80.64 kB / 0.7906 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.3485, allocations: 232 kB / 0.7908 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.3485, allocations: 20.69 kB / 0.7908 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.277e-05/0.3486, allocations: 20.36 kB / 0.7908 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005564/0.3491, allocations: 324.1 kB / 0.7911 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.3491, allocations: 7.938 kB / 0.7911 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.3492, allocations: 11.98 kB / 0.7911 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.916e-05/0.3492, allocations: 20.27 kB / 0.7912 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004409/0.3497, allocations: 256.5 kB / 0.7914 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.3514, allocations: 1.614 MB / 0.793 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006768/0.3521, allocations: 415.2 kB / 0.7934 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.3523, allocations: 81.67 kB / 0.7935 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/0.3525, allocations: 89.08 kB / 0.7935 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.3525, allocations: 38.56 kB / 0.7936 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.3525, allocations: 4 kB / 0.7936 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0007548/0.3533, allocations: 316.5 kB / 0.7939 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.3533, allocations: 81.11 kB / 0.794 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.3535, allocations: 168.4 kB / 0.7941 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.3536, allocations: 29.7 kB / 0.7942 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.3537, allocations: 147.8 kB / 0.7943 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/0.3538, allocations: 51.34 kB / 0.7943 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.759e-05/0.3538, allocations: 41.89 kB / 0.7944 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.354, allocations: 330.8 kB / 0.7947 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.3541, allocations: 81 kB / 0.7948 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.3543, allocations: 157.3 kB / 0.7949 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/0.3547, allocations: 268.2 kB / 0.7952 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3547, allocations: 0 / 0.7952 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004338/0.3551, allocations: 269.2 kB / 0.7954 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.3552, allocations: 14.97 kB / 0.7955 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3552, allocations: 0 / 0.7955 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.3552, allocations: 7.938 kB / 0.7955 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.3555, allocations: 51.95 kB / 0.7955 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.3555, allocations: 7.938 kB / 0.7955 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.3556, allocations: 19.92 kB / 0.7955 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.3557, allocations: 12 kB / 0.7955 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001782/0.3558, allocations: 176.1 kB / 0.7957 GB, free: 368 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001558/0.356, allocations: 146.3 kB / 0.7959 GB, free: 184 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002892/0.3563, allocations: 226.2 kB / 0.7961 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.324e-06/0.3563, allocations: 0 / 0.7961 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003865/0.3567, allocations: 261.2 kB / 0.7963 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.3567, allocations: 4 kB / 0.7963 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3567, allocations: 4 kB / 0.7963 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.194e-06/0.3568, allocations: 4 kB / 0.7963 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.3569, allocations: 51.84 kB / 0.7964 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.357, allocations: 4.344 kB / 0.7964 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.3571, allocations: 19.98 kB / 0.7964 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.3571, allocations: 8 kB / 0.7964 GB, free: 15.56 MB / 0.6231 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.0001175/0.3572, allocations: 192.2 kB / 0.7966 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/0.3573, allocations: 15.81 kB / 0.7966 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003884/0.3577, allocations: 207.6 kB / 0.7968 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.3577, allocations: 7.938 kB / 0.7968 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3577, allocations: 7.984 kB / 0.7968 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3577, allocations: 0 / 0.7968 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.359, allocations: 0.9574 MB / 0.7978 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.922e-05/0.359, allocations: 4 kB / 0.7978 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.3592, allocations: 35.91 kB / 0.7978 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.3592, allocations: 4 kB / 0.7978 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.3592, allocations: 12.44 kB / 0.7978 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.3592, allocations: 8 kB / 0.7978 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/0.3592, allocations: 12.03 kB / 0.7978 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004648/0.3597, allocations: 436.2 kB / 0.7982 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.906e-05/0.3598, allocations: 112.8 kB / 0.7984 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.3599, allocations: 12 kB / 0.7984 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.3601, allocations: 15.98 kB / 0.7984 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.3601, allocations: 11.92 kB / 0.7984 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.3601, allocations: 12 kB / 0.7984 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001149/0.3603, allocations: 139.2 kB / 0.7985 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3603, allocations: 3.938 kB / 0.7985 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005698/0.3608, allocations: 72 kB / 0.7986 GB, free: 13.11 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.0002044/0.3611, allocations: 111.1 kB / 0.7987 GB, free: 13 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005498/0.3616, allocations: 312.7 kB / 0.799 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.3616, allocations: 4.062 kB / 0.799 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.3618, allocations: 79.83 kB / 0.7991 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/0.3623, allocations: 38.34 kB / 0.7991 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008871/0.3632, allocations: 481.2 kB / 0.7996 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.3636, allocations: 0.7519 MB / 0.8003 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002004/0.3638, allocations: 73.47 kB / 0.8004 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/0.3638, allocations: 15.44 kB / 0.8004 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of SimCode: time 3.01e-07/0.3638, allocations: 0 / 0.8004 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of Templates: time 0.004634/0.3685, allocations: 1.8 MB / 0.8022 GB, free: 9.395 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)