Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 92 kB / 15.06 MB, free: 1.098 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.001339/0.001339, allocations: 172.7 kB / 15.95 MB, free: 208 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.389/1.389, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001732/0.001732, allocations: 273.8 kB / 291.4 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.012/1.012, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007172/0.0007173, allocations: 13.61 kB / 0.598 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1862, allocations: 88.55 MB / 0.6845 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01708/0.2033, allocations: 15.58 MB / 0.6997 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01035/0.2137, allocations: 5.536 MB / 0.7051 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.215, allocations: 43.88 kB / 0.7052 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008567/0.2159, allocations: 313.7 kB / 0.7055 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001747/0.2176, allocations: 0.6372 MB / 0.7061 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.2195, allocations: 0.6891 MB / 0.7067 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004723/0.2242, allocations: 4.95 MB / 0.7116 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009971/0.2342, allocations: 7.047 MB / 0.7185 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002563/0.2368, allocations: 1.308 MB / 0.7197 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00264/0.2394, allocations: 1.885 MB / 0.7216 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003463/0.2398, allocations: 188 kB / 0.7218 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000976/0.2408, allocations: 419.6 kB / 0.7222 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001299/0.2421, allocations: 1.376 MB / 0.7235 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007507/0.2428, allocations: 0.5667 MB / 0.7241 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005079/0.2479, allocations: 5.342 MB / 0.7293 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2479, allocations: 0 / 0.7293 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.713e-06/0.248, allocations: 4 kB / 0.7293 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001192/0.2481, allocations: 0 / 0.7293 GB, free: 1.477 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.005083/0.2532, allocations: 2.498 MB / 0.7317 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.2532, allocations: 12.03 kB / 0.7317 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005052/0.2583, allocations: 1.148 MB / 0.7329 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003096/0.2614, allocations: 1.576 MB / 0.7344 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001835/0.2616, allocations: 226 kB / 0.7346 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005918/0.2622, allocations: 288 kB / 0.7349 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01091/0.2731, allocations: 5.292 MB / 0.74 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.327e-05/0.2732, allocations: 3.938 kB / 0.7401 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003717/0.2736, allocations: 124 kB / 0.7402 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002695/0.2739, allocations: 205.1 kB / 0.7404 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009187/0.2831, allocations: 4.749 MB / 0.745 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02748/0.3106, allocations: 23.2 MB / 0.7677 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004359/0.315, allocations: 3.187 MB / 0.7708 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/0.3163, allocations: 0.9017 MB / 0.7717 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001615/0.3165, allocations: 109.7 kB / 0.7718 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.3166, allocations: 51.16 kB / 0.7718 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.806e-06/0.3166, allocations: 0 / 0.7718 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.003234/0.3198, allocations: 2.082 MB / 0.7738 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.3199, allocations: 226.2 kB / 0.7741 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3649/0.6849, allocations: 1.084 MB / 0.7751 GB, free: 87.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002205/0.6851, allocations: 39.48 kB / 0.7751 GB, free: 87.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008567/0.686, allocations: 1.284 MB / 0.7764 GB, free: 86.39 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003031/0.6863, allocations: 304.2 kB / 0.7767 GB, free: 86.21 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.282e-05/0.6864, allocations: 32.12 kB / 0.7767 GB, free: 86.21 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.6866, allocations: 403.9 kB / 0.7771 GB, free: 85.89 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001689/0.6883, allocations: 0.8817 MB / 0.778 GB, free: 85.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001745/0.69, allocations: 1.509 MB / 0.7794 GB, free: 85.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/0.6916, allocations: 1.189 MB / 0.7806 GB, free: 84.78 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/0.6916, allocations: 7.719 kB / 0.7806 GB, free: 84.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003606/0.6952, allocations: 2.486 MB / 0.783 GB, free: 83.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003437/0.6956, allocations: 0.6424 MB / 0.7837 GB, free: 82.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.721e-05/0.6956, allocations: 19.78 kB / 0.7837 GB, free: 82.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.387e-05/0.6957, allocations: 33.67 kB / 0.7837 GB, free: 82.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/0.6972, allocations: 464.1 kB / 0.7842 GB, free: 82.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.894e-05/0.6973, allocations: 43.69 kB / 0.7842 GB, free: 82.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.6987, allocations: 356.6 kB / 0.7845 GB, free: 82.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.6988, allocations: 78.75 kB / 0.7846 GB, free: 82.81 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.275e-06/0.6988, allocations: 4.344 kB / 0.7846 GB, free: 82.81 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002782/0.7016, allocations: 2.21 MB / 0.7868 GB, free: 82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.7017, allocations: 21 kB / 0.7868 GB, free: 82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.7017, allocations: 29.48 kB / 0.7868 GB, free: 82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.7029, allocations: 436.9 kB / 0.7872 GB, free: 81.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.748e-05/0.703, allocations: 40.39 kB / 0.7873 GB, free: 81.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.704, allocations: 251.9 kB / 0.7875 GB, free: 81.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.7041, allocations: 83.58 kB / 0.7876 GB, free: 81.86 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (197): * Single equations (assignments): 197 * 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.002063/0.7062, allocations: 1.271 MB / 0.7888 GB, free: 81.26 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000283/0.7065, allocations: 104 kB / 0.7889 GB, free: 81.21 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00231/0.7088, allocations: 1.567 MB / 0.7905 GB, free: 80.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.7088, allocations: 10.72 kB / 0.7905 GB, free: 80.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.7089, allocations: 7.156 kB / 0.7905 GB, free: 80.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.7089, allocations: 9.109 kB / 0.7905 GB, free: 80.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006288/0.7152, allocations: 4.491 MB / 0.7949 GB, free: 78.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.7152, allocations: 2.531 kB / 0.7949 GB, free: 78.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008591/0.7161, allocations: 262.1 kB / 0.7951 GB, free: 78.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.7161, allocations: 4.219 kB / 0.7951 GB, free: 78.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.886e-05/0.7161, allocations: 18.31 kB / 0.7952 GB, free: 78.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.7161, allocations: 3.875 kB / 0.7952 GB, free: 78.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7161, allocations: 2.719 kB / 0.7952 GB, free: 78.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/0.7182, allocations: 1.914 MB / 0.797 GB, free: 77.63 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006264/0.7188, allocations: 364 kB / 0.7974 GB, free: 77.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.719, allocations: 20.7 kB / 0.7974 GB, free: 77.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008431/0.7198, allocations: 125.6 kB / 0.7975 GB, free: 77.38 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.72, allocations: 49.89 kB / 0.7976 GB, free: 77.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.236e-05/0.72, allocations: 20.62 kB / 0.7976 GB, free: 77.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001208/0.7213, allocations: 0.7885 MB / 0.7984 GB, free: 77.06 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7213, allocations: 0 / 0.7984 GB, free: 77.06 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003759/0.725, allocations: 1.31 MB / 0.7996 GB, free: 76.64 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (85): * Single equations (assignments): 85 * 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.0002161/0.7253, allocations: 124.6 kB / 0.7998 GB, free: 76.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004672/0.7299, allocations: 2.972 MB / 0.8027 GB, free: 75.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.73, allocations: 0.5 kB / 0.8027 GB, free: 75.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009359/0.7309, allocations: 0.661 MB / 0.8033 GB, free: 75.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.7325, allocations: 186.6 kB / 0.8035 GB, free: 75.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007614/0.7401, allocations: 5.534 MB / 0.8089 GB, free: 72.35 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001828/0.7419, allocations: 2.21 MB / 0.811 GB, free: 71.08 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00228/0.7442, allocations: 1.099 MB / 0.8121 GB, free: 70.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/0.7445, allocations: 89.41 kB / 0.8122 GB, free: 70.6 MB / 0.5606 GB Notification: Performance of SimCode: time 6.01e-07/0.7446, allocations: 0 / 0.8122 GB, free: 70.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.02165/0.7662, allocations: 14.79 MB / 0.8266 GB, free: 58.44 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)