Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001116/0.001116, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001064/0.001065, allocations: 187 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00217/0.00217, allocations: 290.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9641/0.9641, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 91.86 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3948, allocations: 86.97 MB / 0.767 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003689/0.3985, allocations: 2.608 MB / 0.7696 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00213/0.4007, allocations: 1.484 MB / 0.771 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.837e-05/0.4008, allocations: 3.938 kB / 0.771 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007098/0.4015, allocations: 219.2 kB / 0.7712 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003937/0.4019, allocations: 191.2 kB / 0.7714 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.4023, allocations: 147.7 kB / 0.7716 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000262/0.4025, allocations: 227.2 kB / 0.7718 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002973/0.4028, allocations: 190.1 kB / 0.772 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.403, allocations: 91.67 kB / 0.7721 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.4032, allocations: 115.6 kB / 0.7722 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.811e-05/0.4032, allocations: 12 kB / 0.7722 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003086/0.4036, allocations: 219.6 kB / 0.7724 GB, free: 14.44 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.015e-05/0.4037, allocations: 83.78 kB / 0.7725 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.22e-05/0.4037, allocations: 83.55 kB / 0.7725 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.4041, allocations: 333.5 kB / 0.7729 GB, free: 13.95 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.4041, allocations: 0 / 0.7729 GB, free: 13.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.82e-07/0.4041, allocations: 0 / 0.7729 GB, free: 13.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.4041, allocations: 0 / 0.7729 GB, free: 13.95 MB / 0.545 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.0006376/0.4048, allocations: 497.9 kB / 0.7733 GB, free: 13.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.4048, allocations: 8.031 kB / 0.7733 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005761/0.4054, allocations: 76.66 kB / 0.7734 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.4057, allocations: 243.5 kB / 0.7737 GB, free: 13.06 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.4057, allocations: 16.7 kB / 0.7737 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.4057, allocations: 16.36 kB / 0.7737 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004481/0.4062, allocations: 316.4 kB / 0.774 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.4062, allocations: 8 kB / 0.774 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.4062, allocations: 7.984 kB / 0.774 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.648e-05/0.4063, allocations: 20.27 kB / 0.774 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003585/0.4066, allocations: 252.6 kB / 0.7743 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.4081, allocations: 1.626 MB / 0.7758 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006153/0.4087, allocations: 407.2 kB / 0.7762 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.4089, allocations: 89.66 kB / 0.7763 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/0.409, allocations: 89.09 kB / 0.7764 GB, free: 9.973 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.409, allocations: 38.48 kB / 0.7764 GB, free: 9.926 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.4091, allocations: 0 / 0.7764 GB, free: 9.926 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006033/0.4097, allocations: 309.1 kB / 0.7767 GB, free: 9.617 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.4097, allocations: 81.05 kB / 0.7768 GB, free: 9.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.4099, allocations: 180.8 kB / 0.777 GB, free: 9.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.4099, allocations: 29.7 kB / 0.777 GB, free: 9.305 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.334e-05/0.41, allocations: 147.9 kB / 0.7772 GB, free: 9.156 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.41, allocations: 47.3 kB / 0.7772 GB, free: 9.109 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-05/0.4101, allocations: 45.7 kB / 0.7772 GB, free: 9.059 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.4102, allocations: 331 kB / 0.7776 GB, free: 8.727 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.4103, allocations: 84.81 kB / 0.7776 GB, free: 8.641 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.4105, allocations: 159.8 kB / 0.7778 GB, free: 8.453 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.4108, allocations: 241.3 kB / 0.778 GB, free: 8.184 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.4108, allocations: 0 / 0.778 GB, free: 8.184 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003776/0.4112, allocations: 277.1 kB / 0.7783 GB, free: 7.906 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.4112, allocations: 4.312 kB / 0.7783 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.4112, allocations: 8 kB / 0.7783 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.4113, allocations: 11.94 kB / 0.7783 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.4115, allocations: 59.89 kB / 0.7784 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.4115, allocations: 4.188 kB / 0.7784 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.4117, allocations: 15.98 kB / 0.7784 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.4117, allocations: 11.98 kB / 0.7784 GB, free: 7.793 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001649/0.4119, allocations: 172.1 kB / 0.7786 GB, free: 7.621 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001462/0.412, allocations: 157.6 kB / 0.7787 GB, free: 7.434 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002443/0.4123, allocations: 226.1 kB / 0.7789 GB, free: 7.176 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.432e-06/0.4123, allocations: 3.938 kB / 0.7789 GB, free: 7.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003342/0.4126, allocations: 255.2 kB / 0.7792 GB, free: 6.918 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.4126, allocations: 8 kB / 0.7792 GB, free: 6.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.4126, allocations: 4 kB / 0.7792 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.198e-06/0.4126, allocations: 4 kB / 0.7792 GB, free: 6.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.4128, allocations: 59.83 kB / 0.7792 GB, free: 6.844 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.4128, allocations: 4.344 kB / 0.7793 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.413, allocations: 19.92 kB / 0.7793 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.413, allocations: 15.94 kB / 0.7793 GB, free: 6.805 MB / 0.545 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.704e-05/0.4131, allocations: 184.3 kB / 0.7795 GB, free: 6.617 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/0.4131, allocations: 11.81 kB / 0.7795 GB, free: 6.605 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003425/0.4135, allocations: 203.7 kB / 0.7797 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4135, allocations: 4 kB / 0.7797 GB, free: 6.391 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4135, allocations: 4 kB / 0.7797 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.4135, allocations: 0 / 0.7797 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.4147, allocations: 0.9728 MB / 0.7806 GB, free: 5.301 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4147, allocations: 0 / 0.7806 GB, free: 5.301 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.4148, allocations: 43.84 kB / 0.7807 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.4148, allocations: 4 kB / 0.7807 GB, free: 5.254 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.4149, allocations: 4.438 kB / 0.7807 GB, free: 5.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.4149, allocations: 8 kB / 0.7807 GB, free: 5.242 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.4149, allocations: 11.88 kB / 0.7807 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003487/0.4152, allocations: 428.9 kB / 0.7811 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.22e-05/0.4153, allocations: 104.9 kB / 0.7812 GB, free: 4.637 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.4154, allocations: 19.98 kB / 0.7812 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.4156, allocations: 11.98 kB / 0.7812 GB, free: 4.605 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.4156, allocations: 23.86 kB / 0.7813 GB, free: 4.582 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.4156, allocations: 8 kB / 0.7813 GB, free: 4.574 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.876e-05/0.4157, allocations: 133 kB / 0.7814 GB, free: 4.445 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4157, allocations: 0 / 0.7814 GB, free: 4.445 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004818/0.4162, allocations: 76 kB / 0.7815 GB, free: 4.371 MB / 0.545 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.0001295/0.4163, allocations: 111.2 kB / 0.7816 GB, free: 4.254 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004383/0.4168, allocations: 314.4 kB / 0.7819 GB, free: 3.949 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4168, allocations: 384 / 0.7819 GB, free: 3.949 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.4169, allocations: 79.83 kB / 0.7819 GB, free: 3.871 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.4174, allocations: 46.44 kB / 0.782 GB, free: 3.832 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007345/0.4181, allocations: 0.498 MB / 0.7825 GB, free: 3.266 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.4184, allocations: 0.748 MB / 0.7832 GB, free: 2.492 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.379e-05/0.4185, allocations: 19.44 kB / 0.7832 GB, free: 2.473 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.4185, allocations: 0 / 0.7832 GB, free: 2.473 MB / 0.545 GB Notification: Performance of Templates: time 0.004118/0.4226, allocations: 2.369 MB / 0.7855 GB, free: 116 kB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)