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.001492/0.001492, allocations: 108.3 kB / 16.41 MB, free: 6.488 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.001499/0.001499, allocations: 189.2 kB / 17.34 MB, free: 5.734 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.422/1.422, 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.002709/0.002709, allocations: 284.5 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 1.014/1.014, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002815/0.002815, allocations: 99.84 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4891/0.4919, allocations: 86.97 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004571/0.4965, allocations: 2.619 MB / 0.7696 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002613/0.4991, allocations: 1.476 MB / 0.771 GB, free: 15.81 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.4993, allocations: 4 kB / 0.771 GB, free: 15.81 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009134/0.5002, allocations: 231 kB / 0.7713 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005452/0.5007, allocations: 187.2 kB / 0.7714 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000424/0.5011, allocations: 155.6 kB / 0.7716 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003402/0.5015, allocations: 227.2 kB / 0.7718 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003249/0.5018, allocations: 150.3 kB / 0.772 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.502, allocations: 91.67 kB / 0.772 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.5022, allocations: 115.6 kB / 0.7722 GB, free: 14.67 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.5022, allocations: 12 kB / 0.7722 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003865/0.5026, allocations: 227.5 kB / 0.7724 GB, free: 14.44 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.5027, allocations: 75.8 kB / 0.7725 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.5028, allocations: 91.53 kB / 0.7725 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004754/0.5033, allocations: 332.6 kB / 0.7729 GB, free: 13.95 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.5033, allocations: 3.984 kB / 0.7729 GB, free: 13.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5033, allocations: 0 / 0.7729 GB, free: 13.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.5033, 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.0007869/0.5041, allocations: 490.7 kB / 0.7733 GB, free: 13.42 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.5042, allocations: 16.02 kB / 0.7733 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006258/0.5048, allocations: 72.75 kB / 0.7734 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.5051, allocations: 232.1 kB / 0.7736 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.5051, allocations: 20.7 kB / 0.7737 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.789e-05/0.5052, allocations: 16.36 kB / 0.7737 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005199/0.5057, allocations: 324.3 kB / 0.774 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.5057, allocations: 4 kB / 0.774 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.5057, allocations: 7.984 kB / 0.774 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.651e-05/0.5058, allocations: 24.27 kB / 0.774 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004015/0.5062, allocations: 252.6 kB / 0.7743 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.508, allocations: 1.622 MB / 0.7758 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007141/0.5087, allocations: 403.2 kB / 0.7762 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.5088, allocations: 81.67 kB / 0.7763 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/0.509, allocations: 93.08 kB / 0.7764 GB, free: 9.98 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.509, allocations: 30.56 kB / 0.7764 GB, free: 9.941 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.509, allocations: 0 / 0.7764 GB, free: 9.941 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0007186/0.5097, allocations: 325 kB / 0.7767 GB, free: 9.617 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.5098, allocations: 77.11 kB / 0.7768 GB, free: 9.523 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.51, allocations: 179.2 kB / 0.777 GB, free: 9.344 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.51, allocations: 29.7 kB / 0.777 GB, free: 9.309 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.5101, allocations: 148.2 kB / 0.7771 GB, free: 9.16 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.739e-05/0.5101, allocations: 51.53 kB / 0.7772 GB, free: 9.109 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.882e-05/0.5102, allocations: 53.66 kB / 0.7772 GB, free: 9.051 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.5104, allocations: 327 kB / 0.7776 GB, free: 8.723 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.5105, allocations: 80.81 kB / 0.7776 GB, free: 8.641 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.5107, allocations: 163.7 kB / 0.7778 GB, free: 8.449 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.511, allocations: 251.9 kB / 0.778 GB, free: 8.172 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.511, allocations: 0 / 0.778 GB, free: 8.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004215/0.5115, allocations: 265.3 kB / 0.7783 GB, free: 7.906 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.5115, allocations: 4.312 kB / 0.7783 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.5115, allocations: 8 kB / 0.7783 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/0.5115, allocations: 11.92 kB / 0.7783 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.5118, allocations: 51.97 kB / 0.7784 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.5118, allocations: 7.938 kB / 0.7784 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.5119, allocations: 15.94 kB / 0.7784 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.5119, allocations: 15.98 kB / 0.7784 GB, free: 7.793 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002185/0.5122, allocations: 180 kB / 0.7786 GB, free: 7.613 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001686/0.5123, allocations: 141.5 kB / 0.7787 GB, free: 7.441 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002931/0.5126, allocations: 231.6 kB / 0.7789 GB, free: 7.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.293e-06/0.5126, allocations: 0 / 0.7789 GB, free: 7.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.000383/0.513, allocations: 257.3 kB / 0.7792 GB, free: 6.922 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.513, allocations: 8 kB / 0.7792 GB, free: 6.914 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.513, allocations: 7.984 kB / 0.7792 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.119e-06/0.513, allocations: 4 kB / 0.7792 GB, free: 6.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.5132, allocations: 51.84 kB / 0.7792 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.5132, allocations: 4.344 kB / 0.7792 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.5133, allocations: 23.92 kB / 0.7793 GB, free: 6.824 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.5134, allocations: 8 kB / 0.7793 GB, free: 6.816 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 0.0001384/0.5135, allocations: 196.2 kB / 0.7795 GB, free: 6.617 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.747e-05/0.5136, allocations: 11.91 kB / 0.7795 GB, free: 6.605 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003831/0.5139, allocations: 207.7 kB / 0.7797 GB, free: 6.391 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.5139, allocations: 4 kB / 0.7797 GB, free: 6.387 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.514, allocations: 4 kB / 0.7797 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.514, allocations: 0 / 0.7797 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.5153, allocations: 0.9691 MB / 0.7806 GB, free: 5.301 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.5153, allocations: 4 kB / 0.7806 GB, free: 5.297 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.5155, allocations: 35.92 kB / 0.7807 GB, free: 5.262 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.5155, allocations: 4 kB / 0.7807 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.5155, allocations: 4.438 kB / 0.7807 GB, free: 5.254 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.5155, allocations: 11.98 kB / 0.7807 GB, free: 5.242 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.5155, allocations: 11.88 kB / 0.7807 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004518/0.5159, allocations: 435.4 kB / 0.7811 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.516, allocations: 108.9 kB / 0.7812 GB, free: 4.629 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.5161, allocations: 12 kB / 0.7812 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.5163, allocations: 11.98 kB / 0.7812 GB, free: 4.605 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.5163, allocations: 19.92 kB / 0.7812 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.5163, allocations: 8 kB / 0.7813 GB, free: 4.578 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001242/0.5164, allocations: 137 kB / 0.7814 GB, free: 4.445 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.5164, allocations: 0 / 0.7814 GB, free: 4.445 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005247/0.517, allocations: 79.94 kB / 0.7815 GB, free: 4.367 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.0001609/0.5171, allocations: 109.7 kB / 0.7816 GB, free: 4.254 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005016/0.5176, allocations: 288.3 kB / 0.7818 GB, free: 3.973 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5176, allocations: 448 / 0.7818 GB, free: 3.973 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.5178, allocations: 83.83 kB / 0.7819 GB, free: 3.891 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005028/0.5183, allocations: 38.91 kB / 0.782 GB, free: 3.855 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008699/0.5191, allocations: 485.2 kB / 0.7824 GB, free: 3.316 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/0.5195, allocations: 0.748 MB / 0.7832 GB, free: 2.543 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002216/0.5198, allocations: 73.47 kB / 0.7832 GB, free: 2.473 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.836e-05/0.5198, allocations: 23.38 kB / 0.7832 GB, free: 2.449 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.5198, allocations: 0 / 0.7832 GB, free: 2.449 MB / 0.545 GB Notification: Performance of Templates: time 0.005296/0.5251, allocations: 1.852 MB / 0.7851 GB, free: 0.6367 MB / 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)