Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.58/1.58, allocations: 289.9 MB / 297.4 MB, free: 6.367 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 180.8 kB / 366.7 MB, free: 1.652 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.59/1.59, allocations: 205.2 MB / 0.626 GB, free: 7.184 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009363/0.0009367, allocations: 92.03 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.811e-05/1.814e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7613/0.7613, allocations: 116.3 MB / 0.9733 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2416/1.003, allocations: 172.8 MB / 1.142 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003499/1.003, allocations: 99.94 kB / 1.142 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2631/1.267, allocations: 104.4 MB / 1.244 GB, free: 60 kB / 0.8386 GB Notification: Performance of FrontEnd: time 4.068e-06/1.267, allocations: 0 / 1.244 GB, free: 60 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.000215/1.267, allocations: 63.98 kB / 1.244 GB, free: 15.99 MB / 0.8542 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.009022/1.276, allocations: 2.452 MB / 1.247 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/1.276, allocations: 15.97 kB / 1.247 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006598/1.283, allocations: 1.011 MB / 1.248 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004648/1.287, allocations: 1.64 MB / 1.249 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001833/1.287, allocations: 96 kB / 1.249 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001596/1.289, allocations: 172 kB / 1.249 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009784/1.299, allocations: 3.608 MB / 1.253 GB, free: 6.898 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01563/1.315, allocations: 4.297 MB / 1.257 GB, free: 2.508 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001503/1.315, allocations: 0 / 1.257 GB, free: 2.508 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001203/1.316, allocations: 7.953 kB / 1.257 GB, free: 2.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000287/1.316, allocations: 189.1 kB / 1.257 GB, free: 2.312 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6098/1.926, allocations: 22.25 MB / 1.279 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004564/1.931, allocations: 3.117 MB / 1.282 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/1.932, allocations: 0.8737 MB / 1.283 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001515/1.932, allocations: 100.5 kB / 1.283 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/1.932, allocations: 52.19 kB / 1.283 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=82): time 3.607e-06/1.932, allocations: 4.625 kB / 1.283 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=82): time 0.002931/1.935, allocations: 1.477 MB / 1.285 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/1.935, allocations: 218.8 kB / 1.285 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/1.937, allocations: 0.9415 MB / 1.286 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.526e-05/1.937, allocations: 29.48 kB / 1.286 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009287/1.938, allocations: 1.285 MB / 1.287 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002666/1.938, allocations: 287 kB / 1.287 GB, free: 182 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-05/1.938, allocations: 0 / 1.287 GB, free: 182 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001734/1.938, allocations: 408.3 kB / 1.288 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/1.939, allocations: 0.8175 MB / 1.288 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/1.941, allocations: 1.431 MB / 1.29 GB, free: 181 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002899/1.944, allocations: 1.402 MB / 1.291 GB, free: 181 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.991e-05/1.944, allocations: 5.719 kB / 1.291 GB, free: 181 MB / 0.8542 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004986/1.949, allocations: 2.538 MB / 1.294 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001595/1.951, allocations: 7.492 MB / 1.301 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-05/1.951, allocations: 19.94 kB / 1.301 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.355e-05/1.951, allocations: 34.55 kB / 1.301 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001794/1.953, allocations: 464.7 kB / 1.301 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-05/1.953, allocations: 50.73 kB / 1.301 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/1.954, allocations: 314.8 kB / 1.302 GB, free: 173 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/1.955, allocations: 78.47 kB / 1.302 GB, free: 173 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/1.955, allocations: 6.484 kB / 1.302 GB, free: 173 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00441/1.959, allocations: 2.246 MB / 1.304 GB, free: 173 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.542e-05/1.959, allocations: 18.69 kB / 1.304 GB, free: 173 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.294e-05/1.959, allocations: 31.69 kB / 1.304 GB, free: 173 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/1.961, allocations: 440.2 kB / 1.305 GB, free: 173 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-05/1.961, allocations: 43.92 kB / 1.305 GB, free: 173 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/1.962, allocations: 222 kB / 1.305 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/1.962, allocations: 78.16 kB / 1.305 GB, free: 172.9 MB / 0.8542 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 () * 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.0004636/1.963, allocations: 160.8 kB / 1.305 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003581/1.963, allocations: 103.1 kB / 1.305 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003061/1.966, allocations: 1.529 MB / 1.307 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/1.966, allocations: 9.531 kB / 1.307 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/1.966, allocations: 3.359 kB / 1.307 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/1.966, allocations: 5.219 kB / 1.307 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007505/1.974, allocations: 3.759 MB / 1.31 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/1.974, allocations: 3.312 kB / 1.31 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009748/1.975, allocations: 229.1 kB / 1.311 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-05/1.975, allocations: 4.969 kB / 1.311 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.501e-05/1.975, allocations: 8.766 kB / 1.311 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/1.975, allocations: 11.88 kB / 1.311 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.975, allocations: 2.656 kB / 1.311 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/1.978, allocations: 1.954 MB / 1.312 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006689/1.978, allocations: 364.6 kB / 1.313 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/1.978, allocations: 11.19 kB / 1.313 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000939/1.979, allocations: 111.8 kB / 1.313 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/1.98, allocations: 50.8 kB / 1.313 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.708e-05/1.98, allocations: 24.38 kB / 1.313 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001158/1.981, allocations: 0.7347 MB / 1.314 GB, free: 171 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3e-07/1.981, allocations: 1.5 kB / 1.314 GB, free: 171 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003995/1.985, allocations: 1.285 MB / 1.315 GB, free: 170.7 MB / 0.8542 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 () * 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.000233/1.985, allocations: 121 kB / 1.315 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004985/1.99, allocations: 2.766 MB / 1.318 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.99, allocations: 3.281 kB / 1.318 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0009443/1.991, allocations: 0.6183 MB / 1.318 GB, free: 170.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/1.992, allocations: 151.7 kB / 1.319 GB, free: 170.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008545/2.001, allocations: 3.665 MB / 1.322 GB, free: 169 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002384/2.003, allocations: 2.256 MB / 1.324 GB, free: 167.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003267/2.007, allocations: 1.16 MB / 1.325 GB, free: 167.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003449/2.007, allocations: 85.53 kB / 1.326 GB, free: 167.9 MB / 0.8542 GB Notification: Performance of SimCode: time 7.72e-07/2.007, allocations: 0 / 1.326 GB, free: 167.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.02558/2.033, allocations: 15.23 MB / 1.34 GB, free: 167.2 MB / 0.8542 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)