Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001053/0.001053, allocations: 103.8 kB / 16.27 MB, free: 6.355 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.001197/0.001197, allocations: 191.5 kB / 17.2 MB, free: 5.953 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.356/1.356, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7922/0.7922, allocations: 126.1 MB / 417.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 63.89 kB / 0.495 GB, free: 3.539 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.4074, allocations: 78.71 MB / 0.5718 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004389/0.4118, allocations: 2.602 MB / 0.5744 GB, free: 29.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002268/0.4141, allocations: 1.487 MB / 0.5758 GB, free: 28.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.4143, allocations: 4.188 kB / 0.5758 GB, free: 28.44 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000759/0.415, allocations: 218 kB / 0.576 GB, free: 28.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004805/0.4155, allocations: 193.1 kB / 0.5762 GB, free: 28.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.4159, allocations: 147.2 kB / 0.5764 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.4162, allocations: 230.9 kB / 0.5766 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003408/0.4166, allocations: 171.1 kB / 0.5767 GB, free: 27.99 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.4167, allocations: 101 kB / 0.5768 GB, free: 27.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.417, allocations: 115.2 kB / 0.5769 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.022e-05/0.417, allocations: 14.84 kB / 0.577 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003742/0.4174, allocations: 219 kB / 0.5772 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.4175, allocations: 75.38 kB / 0.5772 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.679e-05/0.4176, allocations: 87.03 kB / 0.5773 GB, free: 27.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004705/0.4181, allocations: 325.8 kB / 0.5776 GB, free: 27.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.4181, allocations: 3.344 kB / 0.5776 GB, free: 27.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4181, allocations: 0 / 0.5776 GB, free: 27.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.4181, allocations: 0 / 0.5776 GB, free: 27.64 MB / 446.1 MB 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.0006797/0.4188, allocations: 491.4 kB / 0.5781 GB, free: 27.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.4188, allocations: 11.06 kB / 0.5781 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006303/0.4195, allocations: 75.72 kB / 0.5782 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.4197, allocations: 237.2 kB / 0.5784 GB, free: 26.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.4198, allocations: 11.39 kB / 0.5784 GB, free: 26.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.117e-05/0.4198, allocations: 20.8 kB / 0.5784 GB, free: 26.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005353/0.4204, allocations: 317.1 kB / 0.5787 GB, free: 26.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.4204, allocations: 1.344 kB / 0.5788 GB, free: 26.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.39e-05/0.4204, allocations: 10.8 kB / 0.5788 GB, free: 26.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.79e-05/0.4205, allocations: 22.11 kB / 0.5788 GB, free: 26.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003915/0.4209, allocations: 253 kB / 0.579 GB, free: 26.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.4223, allocations: 1.629 MB / 0.5806 GB, free: 24.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006006/0.423, allocations: 420.9 kB / 0.581 GB, free: 24.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.4231, allocations: 90.75 kB / 0.5811 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/0.4232, allocations: 88.12 kB / 0.5812 GB, free: 24.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.4233, allocations: 37.59 kB / 0.5812 GB, free: 24.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.4233, allocations: 0 / 0.5812 GB, free: 24.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006479/0.4239, allocations: 310.2 kB / 0.5815 GB, free: 24.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.424, allocations: 79.05 kB / 0.5816 GB, free: 24.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.4241, allocations: 174.9 kB / 0.5818 GB, free: 23.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.4242, allocations: 31.11 kB / 0.5818 GB, free: 23.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.286e-05/0.4242, allocations: 144.9 kB / 0.5819 GB, free: 23.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.4243, allocations: 52.98 kB / 0.582 GB, free: 23.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.372e-05/0.4244, allocations: 50.83 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.262e-05/0.4244, allocations: 323.2 kB / 0.5823 GB, free: 23.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.4246, allocations: 83.52 kB / 0.5824 GB, free: 23.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.4247, allocations: 158.4 kB / 0.5826 GB, free: 23.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003847/0.4251, allocations: 251.1 kB / 0.5828 GB, free: 23.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4251, allocations: 5.188 kB / 0.5828 GB, free: 23.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004864/0.4256, allocations: 268.9 kB / 0.5831 GB, free: 22.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.4257, allocations: 12.31 kB / 0.5831 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.4257, allocations: 3.469 kB / 0.5831 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/0.4257, allocations: 9.188 kB / 0.5831 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.426, allocations: 55.5 kB / 0.5831 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.426, allocations: 7.891 kB / 0.5832 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.4262, allocations: 15.3 kB / 0.5832 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.332e-05/0.4262, allocations: 13.12 kB / 0.5832 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001826/0.4264, allocations: 176.2 kB / 0.5833 GB, free: 22.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001577/0.4266, allocations: 154 kB / 0.5835 GB, free: 22.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003095/0.4269, allocations: 231.9 kB / 0.5837 GB, free: 22.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.136e-06/0.4269, allocations: 1.688 kB / 0.5837 GB, free: 22.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003865/0.4273, allocations: 245.9 kB / 0.5839 GB, free: 22.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.4273, allocations: 6.094 kB / 0.584 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.4274, allocations: 3.594 kB / 0.584 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.952e-06/0.4274, allocations: 4.25 kB / 0.584 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.4276, allocations: 58.36 kB / 0.584 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.4276, allocations: 3.906 kB / 0.584 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.4277, allocations: 14.59 kB / 0.584 GB, free: 22.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.4277, allocations: 18.61 kB / 0.5841 GB, free: 22.25 MB / 446.1 MB 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.527e-05/0.4278, allocations: 192.2 kB / 0.5842 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/0.4279, allocations: 10.34 kB / 0.5842 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003515/0.4282, allocations: 213.7 kB / 0.5845 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.4282, allocations: 3.031 kB / 0.5845 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.4283, allocations: 192 / 0.5845 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4283, allocations: 2.75 kB / 0.5845 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.4294, allocations: 0.9705 MB / 0.5854 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.4294, allocations: 2.438 kB / 0.5854 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.4295, allocations: 40.38 kB / 0.5854 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.4296, allocations: 4.406 kB / 0.5854 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.4296, allocations: 5 kB / 0.5855 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.4296, allocations: 4.562 kB / 0.5855 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/0.4296, allocations: 17.62 kB / 0.5855 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.43, allocations: 425.8 kB / 0.5859 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.625e-05/0.4301, allocations: 106.5 kB / 0.586 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.4301, allocations: 18.17 kB / 0.586 GB, free: 20.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.4303, allocations: 11.77 kB / 0.586 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.4304, allocations: 22.42 kB / 0.586 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.4304, allocations: 6.5 kB / 0.586 GB, free: 20.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.4305, allocations: 129.5 kB / 0.5862 GB, free: 20.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4305, allocations: 0 / 0.5862 GB, free: 20.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005543/0.4311, allocations: 77.78 kB / 0.5862 GB, free: 20.43 MB / 446.1 MB 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.0001751/0.4313, allocations: 120.2 kB / 0.5864 GB, free: 20.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005436/0.4318, allocations: 310.1 kB / 0.5866 GB, free: 20.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4318, allocations: 5.156 kB / 0.5867 GB, free: 20.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.432, allocations: 83.14 kB / 0.5867 GB, free: 20.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005112/0.4325, allocations: 37.03 kB / 0.5868 GB, free: 20.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007801/0.4333, allocations: 469.9 kB / 0.5872 GB, free: 19.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.4335, allocations: 0.7521 MB / 0.5879 GB, free: 19.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001952/0.4337, allocations: 78.69 kB / 0.588 GB, free: 18.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.462e-05/0.4337, allocations: 19.8 kB / 0.588 GB, free: 18.97 MB / 446.1 MB Notification: Performance of SimCode: time 1.9e-07/0.4338, allocations: 0 / 0.588 GB, free: 18.97 MB / 446.1 MB Notification: Performance of Templates: time 0.004796/0.4386, allocations: 1.8 MB / 0.5898 GB, free: 18.11 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)