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.00161/0.00161, allocations: 107.5 kB / 16.41 MB, free: 6.496 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.001837/0.001837, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002153/0.002153, allocations: 281.2 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9539/0.9539, allocations: 169.2 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 91.86 kB / 0.6821 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.418, allocations: 86.97 MB / 0.767 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004052/0.4221, allocations: 2.62 MB / 0.7696 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002279/0.4244, allocations: 1.48 MB / 0.771 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.4246, allocations: 4 kB / 0.771 GB, free: 15.87 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007661/0.4253, allocations: 227.1 kB / 0.7713 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004666/0.4258, allocations: 191.2 kB / 0.7714 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.4262, allocations: 149.7 kB / 0.7716 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002857/0.4265, allocations: 223.3 kB / 0.7718 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000307/0.4268, allocations: 186 kB / 0.772 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.427, allocations: 95.69 kB / 0.7721 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.4272, allocations: 119.5 kB / 0.7722 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.4273, allocations: 16 kB / 0.7722 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003345/0.4276, allocations: 223.5 kB / 0.7724 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.979e-05/0.4277, allocations: 71.81 kB / 0.7725 GB, free: 14.4 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.854e-05/0.4278, allocations: 91.58 kB / 0.7726 GB, free: 14.31 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003968/0.4282, allocations: 321.6 kB / 0.7729 GB, free: 14 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.4282, allocations: 7.938 kB / 0.7729 GB, free: 13.99 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.133e-06/0.4282, allocations: 0 / 0.7729 GB, free: 13.99 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.4282, allocations: 0 / 0.7729 GB, free: 13.99 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.0006788/0.4289, allocations: 487.2 kB / 0.7733 GB, free: 13.46 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.429, allocations: 8.031 kB / 0.7734 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005869/0.4296, allocations: 80.64 kB / 0.7734 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.4298, allocations: 232 kB / 0.7736 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.4299, allocations: 16.64 kB / 0.7737 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.089e-05/0.4299, allocations: 20.38 kB / 0.7737 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004708/0.4304, allocations: 324.4 kB / 0.774 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.4304, allocations: 0 / 0.774 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.4304, allocations: 8 kB / 0.774 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.025e-05/0.4305, allocations: 24.2 kB / 0.774 GB, free: 12.69 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003722/0.4309, allocations: 256.6 kB / 0.7743 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.4324, allocations: 1.622 MB / 0.7759 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000627/0.433, allocations: 411.1 kB / 0.7762 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.4331, allocations: 89.67 kB / 0.7763 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.4333, allocations: 85.31 kB / 0.7764 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.4333, allocations: 42.5 kB / 0.7765 GB, free: 9.965 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.4333, allocations: 0 / 0.7765 GB, free: 9.965 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006171/0.4339, allocations: 300.5 kB / 0.7767 GB, free: 9.664 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.434, allocations: 85.05 kB / 0.7768 GB, free: 9.562 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.4342, allocations: 183.1 kB / 0.777 GB, free: 9.379 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.4342, allocations: 25.7 kB / 0.777 GB, free: 9.348 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.386e-05/0.4343, allocations: 151.9 kB / 0.7772 GB, free: 9.195 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.4343, allocations: 51.3 kB / 0.7772 GB, free: 9.145 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.734e-05/0.4344, allocations: 41.7 kB / 0.7773 GB, free: 9.098 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.4345, allocations: 322.8 kB / 0.7776 GB, free: 8.773 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.4346, allocations: 84.81 kB / 0.7776 GB, free: 8.688 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.4348, allocations: 163.7 kB / 0.7778 GB, free: 8.496 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.4351, allocations: 245.2 kB / 0.778 GB, free: 8.223 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4351, allocations: 8.188 kB / 0.778 GB, free: 8.215 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003919/0.4355, allocations: 271.8 kB / 0.7783 GB, free: 7.945 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.4355, allocations: 11.94 kB / 0.7783 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.4355, allocations: 4 kB / 0.7783 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.4356, allocations: 3.938 kB / 0.7783 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.4358, allocations: 55.89 kB / 0.7784 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/0.4358, allocations: 4.312 kB / 0.7784 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.436, allocations: 23.92 kB / 0.7784 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.436, allocations: 11.98 kB / 0.7784 GB, free: 7.832 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001701/0.4362, allocations: 176.1 kB / 0.7786 GB, free: 7.656 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001432/0.4363, allocations: 141.5 kB / 0.7787 GB, free: 7.484 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002519/0.4366, allocations: 230.1 kB / 0.7789 GB, free: 7.223 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.076e-06/0.4366, allocations: 4 kB / 0.7789 GB, free: 7.219 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003479/0.4369, allocations: 253.4 kB / 0.7792 GB, free: 6.965 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/0.437, allocations: 4 kB / 0.7792 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.437, allocations: 4 kB / 0.7792 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.437, allocations: 4 kB / 0.7792 GB, free: 6.953 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.4372, allocations: 55.84 kB / 0.7792 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4372, allocations: 4 kB / 0.7792 GB, free: 6.895 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.4373, allocations: 19.92 kB / 0.7793 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.4373, allocations: 12 kB / 0.7793 GB, free: 6.863 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.000108/0.4374, allocations: 192.3 kB / 0.7795 GB, free: 6.668 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.945e-05/0.4375, allocations: 27.73 kB / 0.7795 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000351/0.4379, allocations: 199.8 kB / 0.7797 GB, free: 6.434 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.4379, allocations: 0 / 0.7797 GB, free: 6.434 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4379, allocations: 0 / 0.7797 GB, free: 6.434 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4379, allocations: 0 / 0.7797 GB, free: 6.434 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.4392, allocations: 0.9729 MB / 0.7806 GB, free: 5.348 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.4392, allocations: 7.984 kB / 0.7806 GB, free: 5.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.4394, allocations: 27.98 kB / 0.7807 GB, free: 5.312 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.4394, allocations: 7.938 kB / 0.7807 GB, free: 5.305 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.4395, allocations: 4 kB / 0.7807 GB, free: 5.301 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.4395, allocations: 7.984 kB / 0.7807 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.4395, allocations: 7.938 kB / 0.7807 GB, free: 5.285 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000425/0.4399, allocations: 434.9 kB / 0.7811 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.474e-05/0.44, allocations: 112.9 kB / 0.7812 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.4401, allocations: 4 kB / 0.7812 GB, free: 4.676 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.4402, allocations: 15.92 kB / 0.7812 GB, free: 4.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.4403, allocations: 27.86 kB / 0.7813 GB, free: 4.633 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.4403, allocations: 4 kB / 0.7813 GB, free: 4.629 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001027/0.4404, allocations: 141 kB / 0.7814 GB, free: 4.492 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4404, allocations: 0 / 0.7814 GB, free: 4.492 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004875/0.4409, allocations: 68 kB / 0.7815 GB, free: 4.426 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.0001334/0.4411, allocations: 115.1 kB / 0.7816 GB, free: 4.305 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004465/0.4415, allocations: 315.5 kB / 0.7819 GB, free: 3.996 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4415, allocations: 0 / 0.7819 GB, free: 3.996 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.4416, allocations: 89.64 kB / 0.782 GB, free: 3.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004926/0.4422, allocations: 35.67 kB / 0.782 GB, free: 3.879 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000769/0.4429, allocations: 0.4945 MB / 0.7825 GB, free: 3.312 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.4432, allocations: 0.7441 MB / 0.7832 GB, free: 2.543 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.333e-05/0.4433, allocations: 23.42 kB / 0.7832 GB, free: 2.52 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.4433, allocations: 4 kB / 0.7832 GB, free: 2.516 MB / 0.545 GB Notification: Performance of Templates: time 0.004067/0.4474, allocations: 2.369 MB / 0.7855 GB, free: 164 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)