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.001149/0.001149, allocations: 105 kB / 16.29 MB, free: 6.426 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.001227/0.001228, allocations: 188.6 kB / 17.22 MB, free: 5.957 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.46/1.46, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.837/1.837, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.001439/0.00144, allocations: 67.91 kB / 0.6722 GB, free: 6.504 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2836, allocations: 114.6 MB / 0.7841 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004692/0.2884, allocations: 2.618 MB / 0.7866 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.507/0.7954, allocations: 1.526 MB / 0.7881 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003015/0.7958, allocations: 3 kB / 0.7881 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009958/0.7968, allocations: 236.4 kB / 0.7884 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005471/0.7973, allocations: 188.9 kB / 0.7885 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.7977, allocations: 148 kB / 0.7887 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000267/0.798, allocations: 226.1 kB / 0.7889 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003195/0.7983, allocations: 170.8 kB / 0.7891 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.7985, allocations: 103.3 kB / 0.7892 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.7987, allocations: 115 kB / 0.7893 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.7988, allocations: 13.66 kB / 0.7893 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003329/0.7991, allocations: 225.4 kB / 0.7895 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.472e-05/0.7992, allocations: 67.83 kB / 0.7896 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.7993, allocations: 96.58 kB / 0.7896 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004226/0.7997, allocations: 320.4 kB / 0.79 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.7998, allocations: 1.969 kB / 0.79 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7998, allocations: 2.406 kB / 0.79 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.7998, allocations: 2.438 kB / 0.79 GB, free: 46.01 MB / 0.6544 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.0007214/0.8005, allocations: 490.2 kB / 0.7904 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.8006, allocations: 11.67 kB / 0.7904 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005824/0.8011, allocations: 74.33 kB / 0.7905 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.8014, allocations: 232.7 kB / 0.7907 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.8014, allocations: 16.03 kB / 0.7907 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.8015, allocations: 16.38 kB / 0.7908 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004122/0.8019, allocations: 327 kB / 0.7911 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.8019, allocations: 6.375 kB / 0.7911 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.8019, allocations: 9.969 kB / 0.7911 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.52e-05/0.802, allocations: 16.45 kB / 0.7911 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003375/0.8023, allocations: 257.8 kB / 0.7914 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.8036, allocations: 1.621 MB / 0.7929 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005798/0.8042, allocations: 413.9 kB / 0.7933 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.8043, allocations: 85.73 kB / 0.7934 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.8045, allocations: 85.52 kB / 0.7935 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.8045, allocations: 45.73 kB / 0.7935 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 3.196e-06/0.8046, allocations: 3.891 kB / 0.7935 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0006223/0.8052, allocations: 304.3 kB / 0.7938 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.8052, allocations: 85.98 kB / 0.7939 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.8054, allocations: 173.1 kB / 0.7941 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.8054, allocations: 29.52 kB / 0.7941 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.909e-05/0.8055, allocations: 148.8 kB / 0.7942 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.8055, allocations: 57.94 kB / 0.7943 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.699e-05/0.8056, allocations: 46.66 kB / 0.7943 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.812e-05/0.8057, allocations: 325.2 kB / 0.7947 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.8058, allocations: 84.09 kB / 0.7947 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.8059, allocations: 147.3 kB / 0.7949 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.8063, allocations: 256.4 kB / 0.7951 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.8063, allocations: 0 / 0.7951 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003729/0.8066, allocations: 274.7 kB / 0.7954 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.8067, allocations: 6.812 kB / 0.7954 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.8067, allocations: 0 / 0.7954 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/0.8067, allocations: 7.438 kB / 0.7954 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.807, allocations: 55.45 kB / 0.7955 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.807, allocations: 11.22 kB / 0.7955 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.8071, allocations: 14.09 kB / 0.7955 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.8072, allocations: 15.97 kB / 0.7955 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001659/0.8073, allocations: 172 kB / 0.7957 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001325/0.8075, allocations: 153.5 kB / 0.7958 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000222/0.8077, allocations: 226.2 kB / 0.796 GB, free: 42.28 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.242e-06/0.8077, allocations: 3.375 kB / 0.796 GB, free: 42.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003181/0.808, allocations: 253.4 kB / 0.7963 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.145e-06/0.808, allocations: 6.875 kB / 0.7963 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/0.8081, allocations: 0 / 0.7963 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.356e-06/0.8081, allocations: 7.469 kB / 0.7963 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.8082, allocations: 55.16 kB / 0.7963 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.8082, allocations: 5.156 kB / 0.7963 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.8084, allocations: 12.62 kB / 0.7963 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.8084, allocations: 13.83 kB / 0.7964 GB, free: 42.23 MB / 0.6544 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 8.208e-05/0.8085, allocations: 199.3 kB / 0.7965 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.8085, allocations: 14.81 kB / 0.7966 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003661/0.8089, allocations: 203.7 kB / 0.7968 GB, free: 41.99 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.8089, allocations: 0 / 0.7968 GB, free: 41.99 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.8089, allocations: 1.938 kB / 0.7968 GB, free: 41.99 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.8089, allocations: 6.688 kB / 0.7968 GB, free: 41.99 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009351/0.8099, allocations: 0.9689 MB / 0.7977 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.8099, allocations: 6.297 kB / 0.7977 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.81, allocations: 33.33 kB / 0.7977 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.81, allocations: 3.469 kB / 0.7978 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.81, allocations: 6.719 kB / 0.7978 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.8101, allocations: 3.375 kB / 0.7978 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.8101, allocations: 15.45 kB / 0.7978 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.8103, allocations: 436.2 kB / 0.7982 GB, free: 41.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.848e-05/0.8104, allocations: 109.4 kB / 0.7983 GB, free: 40.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.8104, allocations: 2.688 kB / 0.7983 GB, free: 40.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.8106, allocations: 18.34 kB / 0.7983 GB, free: 40.99 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.8107, allocations: 26.16 kB / 0.7983 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.8107, allocations: 9.469 kB / 0.7983 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.191e-05/0.8108, allocations: 133.7 kB / 0.7985 GB, free: 40.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8108, allocations: 0 / 0.7985 GB, free: 40.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004706/0.8113, allocations: 68.16 kB / 0.7985 GB, free: 40.91 MB / 0.6544 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.0001422/0.8114, allocations: 118.5 kB / 0.7987 GB, free: 40.81 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004256/0.8119, allocations: 308.4 kB / 0.7989 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.8119, allocations: 1.312 kB / 0.799 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.679e-05/0.812, allocations: 94.58 kB / 0.799 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004939/0.8125, allocations: 31.75 kB / 0.7991 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007335/0.8132, allocations: 471.4 kB / 0.7995 GB, free: 40.52 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.8135, allocations: 0.7477 MB / 0.8003 GB, free: 39.82 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001791/0.8137, allocations: 76.75 kB / 0.8003 GB, free: 39.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.926e-05/0.8137, allocations: 15.31 kB / 0.8003 GB, free: 39.81 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.8137, allocations: 3.5 kB / 0.8003 GB, free: 39.81 MB / 0.6544 GB Notification: Performance of Templates: time 0.005224/0.8189, allocations: 1.804 MB / 0.8021 GB, free: 39.74 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)