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.001044/0.001045, allocations: 104.1 kB / 16.35 MB, free: 5.828 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.001006/0.001006, allocations: 190.5 kB / 17.29 MB, free: 5.484 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00212/0.00212, allocations: 290.4 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.934/0.934, allocations: 169.2 MB / 0.4989 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001739, allocations: 98.97 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1396, allocations: 86.98 MB / 0.6816 GB, free: 7.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003642/0.1433, allocations: 2.597 MB / 0.6841 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.1453, allocations: 1.488 MB / 0.6856 GB, free: 3.32 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.269e-05/0.1454, allocations: 0 / 0.6856 GB, free: 3.32 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006963/0.1461, allocations: 231.1 kB / 0.6858 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.1465, allocations: 191.2 kB / 0.686 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.1468, allocations: 155.6 kB / 0.6862 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000246/0.1471, allocations: 223.3 kB / 0.6864 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/0.1473, allocations: 178.4 kB / 0.6865 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.1475, allocations: 99.61 kB / 0.6866 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.1477, allocations: 111.6 kB / 0.6867 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.1477, allocations: 16 kB / 0.6868 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.148, allocations: 227.5 kB / 0.687 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.631e-05/0.1481, allocations: 63.81 kB / 0.687 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.885e-05/0.1482, allocations: 99.52 kB / 0.6871 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003359/0.1486, allocations: 323.1 kB / 0.6874 GB, free: 1.438 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1486, allocations: 0 / 0.6874 GB, free: 1.438 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1486, allocations: 0 / 0.6874 GB, free: 1.438 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1486, allocations: 0 / 0.6874 GB, free: 1.438 MB / 494.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.0005973/0.1492, allocations: 0.4886 MB / 0.6879 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.1492, allocations: 8.031 kB / 0.6879 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005691/0.1498, allocations: 80.66 kB / 0.688 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.1501, allocations: 231.3 kB / 0.6882 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1501, allocations: 16.7 kB / 0.6882 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.929e-05/0.1501, allocations: 16.38 kB / 0.6882 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000421/0.1506, allocations: 320.4 kB / 0.6886 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1506, allocations: 4 kB / 0.6886 GB, free: 172 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.1506, allocations: 8 kB / 0.6886 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.64e-05/0.1507, allocations: 24.27 kB / 0.6886 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2408/0.3915, allocations: 247.5 kB / 0.6888 GB, free: 18.37 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.3929, allocations: 1.63 MB / 0.6904 GB, free: 17.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000576/0.3935, allocations: 407.1 kB / 0.6908 GB, free: 16.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.3936, allocations: 91.39 kB / 0.6909 GB, free: 16.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.3937, allocations: 88.61 kB / 0.691 GB, free: 16.74 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.3937, allocations: 33.34 kB / 0.691 GB, free: 16.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.3938, allocations: 0.5625 kB / 0.691 GB, free: 16.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005966/0.3944, allocations: 309.7 kB / 0.6913 GB, free: 16.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.3944, allocations: 78.86 kB / 0.6914 GB, free: 16.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.3946, allocations: 184.2 kB / 0.6916 GB, free: 16.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.3946, allocations: 27.09 kB / 0.6916 GB, free: 16.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.003e-05/0.3947, allocations: 148.5 kB / 0.6917 GB, free: 16.28 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.42e-05/0.3947, allocations: 50.19 kB / 0.6918 GB, free: 16.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.233e-05/0.3948, allocations: 44.95 kB / 0.6918 GB, free: 16.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.235e-05/0.3948, allocations: 325.8 kB / 0.6921 GB, free: 15.92 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.395, allocations: 89.39 kB / 0.6922 GB, free: 15.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.3951, allocations: 151.9 kB / 0.6924 GB, free: 15.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.3954, allocations: 245.7 kB / 0.6926 GB, free: 15.67 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3954, allocations: 2.281 kB / 0.6926 GB, free: 15.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003768/0.3958, allocations: 275 kB / 0.6928 GB, free: 15.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3958, allocations: 6.031 kB / 0.6929 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.3958, allocations: 2.859 kB / 0.6929 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3958, allocations: 4.875 kB / 0.6929 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.3961, allocations: 53.7 kB / 0.6929 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3961, allocations: 8.609 kB / 0.6929 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.3963, allocations: 20.88 kB / 0.6929 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.3963, allocations: 9.031 kB / 0.693 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001482/0.3964, allocations: 177.5 kB / 0.6931 GB, free: 15.42 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001219/0.3966, allocations: 151.1 kB / 0.6933 GB, free: 15.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002189/0.3968, allocations: 231.1 kB / 0.6935 GB, free: 15.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.462e-06/0.3968, allocations: 1.062 kB / 0.6935 GB, free: 15.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003328/0.3971, allocations: 250.8 kB / 0.6937 GB, free: 15.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.315e-06/0.3972, allocations: 5.656 kB / 0.6937 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.3972, allocations: 2.844 kB / 0.6937 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.461e-06/0.3972, allocations: 4.125 kB / 0.6937 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.3974, allocations: 54.5 kB / 0.6938 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.3974, allocations: 8.969 kB / 0.6938 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.3975, allocations: 22.05 kB / 0.6938 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.3975, allocations: 11.84 kB / 0.6938 GB, free: 15.01 MB / 494.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 5.937e-05/0.3976, allocations: 192.3 kB / 0.694 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.714e-05/0.3976, allocations: 16.02 kB / 0.694 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003264/0.398, allocations: 200.1 kB / 0.6942 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.398, allocations: 7.656 kB / 0.6942 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.398, allocations: 4.781 kB / 0.6942 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.398, allocations: 3.625 kB / 0.6942 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.3991, allocations: 0.9613 MB / 0.6952 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3991, allocations: 7.594 kB / 0.6952 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.3992, allocations: 35.53 kB / 0.6952 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.3993, allocations: 4.031 kB / 0.6952 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.3993, allocations: 9.359 kB / 0.6952 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.3993, allocations: 9.203 kB / 0.6952 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.3993, allocations: 4.672 kB / 0.6952 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.3996, allocations: 442.2 kB / 0.6957 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.124e-05/0.3997, allocations: 115.7 kB / 0.6958 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.3997, allocations: 10.03 kB / 0.6958 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.3999, allocations: 19.8 kB / 0.6958 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.4, allocations: 19.36 kB / 0.6958 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.4, allocations: 6.469 kB / 0.6958 GB, free: 13.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.863e-05/0.4001, allocations: 133.2 kB / 0.696 GB, free: 13.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4001, allocations: 0 / 0.696 GB, free: 13.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005077/0.4006, allocations: 70.97 kB / 0.696 GB, free: 13.4 MB / 494.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.0001216/0.4007, allocations: 117.1 kB / 0.6961 GB, free: 13.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004521/0.4012, allocations: 309.7 kB / 0.6964 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4012, allocations: 0.875 kB / 0.6964 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.4013, allocations: 85.5 kB / 0.6965 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004753/0.4018, allocations: 35.53 kB / 0.6965 GB, free: 13.17 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006548/0.4024, allocations: 473.1 kB / 0.697 GB, free: 12.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.4026, allocations: 0.7496 MB / 0.6977 GB, free: 12.14 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002098/0.4028, allocations: 76.55 kB / 0.6978 GB, free: 12.13 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.258e-05/0.4029, allocations: 17.2 kB / 0.6978 GB, free: 12.13 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4029, allocations: 1.094 kB / 0.6978 GB, free: 12.13 MB / 494.1 MB Notification: Performance of Templates: time 0.004678/0.4076, allocations: 1.804 MB / 0.6996 GB, free: 12.03 MB / 494.1 MB 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)