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.001013/0.001013, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001049/0.001049, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001824/0.001824, allocations: 266.9 kB / 291.3 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9778/0.9778, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004404/0.0004405, allocations: 15.56 kB / 0.598 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1946, allocations: 88.54 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.00288/0.1975, allocations: 2.228 MB / 0.6867 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.1995, allocations: 1.376 MB / 0.688 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.1997, allocations: 4 kB / 0.688 GB, free: 11.85 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.1998, allocations: 27.78 kB / 0.688 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004086/0.2002, allocations: 136.7 kB / 0.6882 GB, free: 11.69 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.2006, allocations: 123.4 kB / 0.6883 GB, free: 11.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00029/0.2009, allocations: 279.2 kB / 0.6886 GB, free: 11.3 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005856/0.2015, allocations: 307.1 kB / 0.6888 GB, free: 10.99 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.2016, allocations: 83.69 kB / 0.6889 GB, free: 10.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.2019, allocations: 107.6 kB / 0.689 GB, free: 10.8 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.2019, allocations: 8 kB / 0.689 GB, free: 10.79 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002281/0.2021, allocations: 123.8 kB / 0.6892 GB, free: 10.67 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.321e-05/0.2022, allocations: 59.81 kB / 0.6892 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.396e-05/0.2023, allocations: 53.64 kB / 0.6893 GB, free: 10.55 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.2025, allocations: 235.4 kB / 0.6895 GB, free: 10.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2026, allocations: 0 / 0.6895 GB, free: 10.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2026, allocations: 0.7188 kB / 0.6895 GB, free: 10.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.2026, allocations: 3.938 kB / 0.6895 GB, free: 10.32 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.0006176/0.2032, allocations: 469.4 kB / 0.6899 GB, free: 9.812 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.2032, allocations: 8.031 kB / 0.6899 GB, free: 9.805 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005391/0.2038, allocations: 79.62 kB / 0.69 GB, free: 9.727 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.204, allocations: 226.8 kB / 0.6902 GB, free: 9.465 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.2041, allocations: 16.33 kB / 0.6903 GB, free: 9.449 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.007e-05/0.2041, allocations: 16 kB / 0.6903 GB, free: 9.434 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004538/0.2046, allocations: 312.7 kB / 0.6906 GB, free: 9.094 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.2046, allocations: 12 kB / 0.6906 GB, free: 9.082 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.2046, allocations: 4 kB / 0.6906 GB, free: 9.078 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.833e-05/0.2047, allocations: 20.27 kB / 0.6906 GB, free: 9.055 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003559/0.205, allocations: 252.6 kB / 0.6908 GB, free: 8.809 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.2065, allocations: 1.638 MB / 0.6924 GB, free: 7.023 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005709/0.2071, allocations: 407.1 kB / 0.6928 GB, free: 6.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.2072, allocations: 89.67 kB / 0.6929 GB, free: 6.477 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.2074, allocations: 89.09 kB / 0.693 GB, free: 6.371 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.2074, allocations: 30.56 kB / 0.693 GB, free: 6.332 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.2074, allocations: 0 / 0.693 GB, free: 6.332 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006389/0.208, allocations: 312.6 kB / 0.6933 GB, free: 6.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.2081, allocations: 81.11 kB / 0.6934 GB, free: 5.922 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.2083, allocations: 165.2 kB / 0.6936 GB, free: 5.754 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.2083, allocations: 33.7 kB / 0.6936 GB, free: 5.715 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.906e-05/0.2084, allocations: 155.8 kB / 0.6937 GB, free: 5.559 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.2084, allocations: 55.23 kB / 0.6938 GB, free: 5.504 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/0.2084, allocations: 4 kB / 0.6938 GB, free: 5.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.2086, allocations: 322.8 kB / 0.6941 GB, free: 5.176 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.2087, allocations: 75.95 kB / 0.6942 GB, free: 5.102 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.2088, allocations: 151.4 kB / 0.6943 GB, free: 4.922 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.209, allocations: 104.7 kB / 0.6944 GB, free: 4.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.209, allocations: 0 / 0.6944 GB, free: 4.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003859/0.2094, allocations: 271.9 kB / 0.6947 GB, free: 4.551 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.724e-05/0.2095, allocations: 161.8 kB / 0.6948 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.2095, allocations: 4 kB / 0.6948 GB, free: 4.352 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.2095, allocations: 4 kB / 0.6948 GB, free: 4.348 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002323/0.2098, allocations: 51.95 kB / 0.6949 GB, free: 4.297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.2098, allocations: 7.938 kB / 0.6949 GB, free: 4.289 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.2099, allocations: 23.83 kB / 0.6949 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.2099, allocations: 8 kB / 0.6949 GB, free: 4.258 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.231e-06/0.21, allocations: 4.188 kB / 0.6949 GB, free: 4.254 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002879/0.2103, allocations: 211.7 kB / 0.6951 GB, free: 4.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-06/0.2103, allocations: 7.938 kB / 0.6951 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/0.2103, allocations: 15.94 kB / 0.6952 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.2105, allocations: 47.91 kB / 0.6952 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.2105, allocations: 4 kB / 0.6952 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.444e-05/0.2106, allocations: 15.98 kB / 0.6952 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.2106, allocations: 12 kB / 0.6952 GB, free: 3.945 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001473/0.2107, allocations: 225.3 kB / 0.6955 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.422e-05/0.2108, allocations: 15.81 kB / 0.6955 GB, free: 3.699 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003405/0.2111, allocations: 195.8 kB / 0.6957 GB, free: 3.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.2112, allocations: 7.953 kB / 0.6957 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2112, allocations: 0 / 0.6957 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.2112, allocations: 7.922 kB / 0.6957 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.2123, allocations: 0.9652 MB / 0.6966 GB, free: 2.406 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.2123, allocations: 0 / 0.6966 GB, free: 2.406 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.2124, allocations: 39.91 kB / 0.6966 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.2125, allocations: 4 kB / 0.6967 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.2125, allocations: 4 kB / 0.6967 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.2125, allocations: 4.156 kB / 0.6967 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.2125, allocations: 4 kB / 0.6967 GB, free: 2.352 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003368/0.2128, allocations: 437.1 kB / 0.6971 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.729e-05/0.2129, allocations: 112.9 kB / 0.6972 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.302e-05/0.213, allocations: 19.86 kB / 0.6972 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.2131, allocations: 11.98 kB / 0.6972 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.2132, allocations: 23.94 kB / 0.6972 GB, free: 1.688 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.2132, allocations: 8 kB / 0.6973 GB, free: 1.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001201/0.2133, allocations: 133 kB / 0.6974 GB, free: 1.551 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2133, allocations: 0 / 0.6974 GB, free: 1.551 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004867/0.2138, allocations: 76 kB / 0.6974 GB, free: 1.477 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001543/0.214, allocations: 111.2 kB / 0.6976 GB, free: 1.359 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004711/0.2145, allocations: 294.4 kB / 0.6978 GB, free: 1.074 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.2145, allocations: 4 kB / 0.6978 GB, free: 1.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.2146, allocations: 89.88 kB / 0.6979 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/0.2151, allocations: 36.02 kB / 0.698 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007935/0.2159, allocations: 0.5598 MB / 0.6985 GB, free: 340 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.2162, allocations: 0.7518 MB / 0.6992 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002046/0.2165, allocations: 81.45 kB / 0.6993 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.303e-05/0.2165, allocations: 15.44 kB / 0.6993 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of SimCode: time 3.4e-07/0.2165, allocations: 0 / 0.6993 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of Templates: time 0.004351/0.2209, allocations: 1.672 MB / 0.701 GB, free: 13.82 MB / 0.4981 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)