Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.655/1.655, allocations: 287.4 MB / 303.2 MB, free: 8.289 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.001503/0.001503, allocations: 186.1 kB / 371.8 MB, free: 10.82 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.518/1.518, allocations: 205.4 MB / 0.6304 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008255/0.0008254, allocations: 97.16 kB / 0.7438 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006362/0.000636, allocations: 11.98 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2681, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01296/0.2811, allocations: 15.61 MB / 0.9945 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007372/0.2885, allocations: 5.572 MB / 1 GB, free: 6.949 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.2896, allocations: 43.88 kB / 1 GB, free: 6.906 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000903/0.2905, allocations: 313.7 kB / 1 GB, free: 6.598 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001651/0.2922, allocations: 0.6418 MB / 1.001 GB, free: 5.953 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.294, allocations: 0.6854 MB / 1.002 GB, free: 5.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003761/0.2978, allocations: 4.981 MB / 1.006 GB, free: 284 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01148/0.3093, allocations: 7.867 MB / 1.014 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002532/0.3119, allocations: 1.312 MB / 1.015 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003069/0.315, allocations: 1.889 MB / 1.017 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0006862/0.3157, allocations: 188 kB / 1.017 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001447/0.3172, allocations: 419.7 kB / 1.018 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001768/0.3189, allocations: 1.38 MB / 1.019 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009984/0.3199, allocations: 0.5667 MB / 1.02 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00534/0.3253, allocations: 5.326 MB / 1.025 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.3253, allocations: 0 / 1.025 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.474e-06/0.3254, allocations: 7.938 kB / 1.025 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002024/0.3256, allocations: 0 / 1.025 GB, free: 13.21 MB / 0.6511 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.006073/0.3316, allocations: 2.479 MB / 1.027 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.3317, allocations: 8.031 kB / 1.027 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005527/0.3372, allocations: 1.141 MB / 1.029 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004107/0.3414, allocations: 1.604 MB / 1.03 GB, free: 7.879 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002772/0.3417, allocations: 230.3 kB / 1.03 GB, free: 7.652 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009754/0.3427, allocations: 284.4 kB / 1.031 GB, free: 7.375 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01148/0.3542, allocations: 5.28 MB / 1.036 GB, free: 1.996 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.994e-05/0.3543, allocations: 7.938 kB / 1.036 GB, free: 1.988 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006475/0.3549, allocations: 128 kB / 1.036 GB, free: 1.863 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002679/0.3552, allocations: 205.1 kB / 1.036 GB, free: 1.66 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01098/0.3662, allocations: 4.743 MB / 1.041 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0332/0.3995, allocations: 23.22 MB / 1.063 GB, free: 3.438 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4638/0.8633, allocations: 3.179 MB / 1.066 GB, free: 83.84 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002066/0.8654, allocations: 0.9012 MB / 1.067 GB, free: 83.79 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001694/0.8656, allocations: 106.4 kB / 1.067 GB, free: 83.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.8657, allocations: 50.17 kB / 1.067 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=82): time 3.677e-06/0.8657, allocations: 0 / 1.067 GB, free: 83.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82): time 0.003946/0.8696, allocations: 2.085 MB / 1.07 GB, free: 83.26 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.8697, allocations: 218.1 kB / 1.07 GB, free: 83.01 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/0.8714, allocations: 1.088 MB / 1.071 GB, free: 82.62 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.287e-05/0.8715, allocations: 37.39 kB / 1.071 GB, free: 82.58 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007783/0.8723, allocations: 1.29 MB / 1.072 GB, free: 81.72 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/0.8725, allocations: 303.2 kB / 1.072 GB, free: 81.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.545e-05/0.8726, allocations: 30.03 kB / 1.072 GB, free: 81.47 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.8728, allocations: 408.5 kB / 1.073 GB, free: 81.12 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/0.8742, allocations: 0.88 MB / 1.074 GB, free: 80.84 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/0.8761, allocations: 1.522 MB / 1.075 GB, free: 79.77 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003071/0.8791, allocations: 2.353 MB / 1.077 GB, free: 78.34 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.761e-05/0.8792, allocations: 6.375 kB / 1.077 GB, free: 78.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004748/0.8839, allocations: 2.49 MB / 1.08 GB, free: 77.42 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004566/0.8844, allocations: 0.6418 MB / 1.081 GB, free: 76.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.925e-05/0.8845, allocations: 19.31 kB / 1.081 GB, free: 76.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-05/0.8846, allocations: 33 kB / 1.081 GB, free: 76.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/0.8864, allocations: 463.9 kB / 1.081 GB, free: 76.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.058e-05/0.8865, allocations: 40.7 kB / 1.081 GB, free: 76.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.8883, allocations: 344 kB / 1.081 GB, free: 76.39 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00019/0.8885, allocations: 87.41 kB / 1.081 GB, free: 76.37 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.8885, allocations: 3.953 kB / 1.081 GB, free: 76.37 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003795/0.8923, allocations: 2.213 MB / 1.084 GB, free: 75.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.834e-05/0.8924, allocations: 19.62 kB / 1.084 GB, free: 75.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.588e-05/0.8924, allocations: 26.94 kB / 1.084 GB, free: 75.56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/0.894, allocations: 441.1 kB / 1.084 GB, free: 75.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.727e-05/0.8941, allocations: 48.86 kB / 1.084 GB, free: 75.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.8955, allocations: 246.9 kB / 1.084 GB, free: 75.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001875/0.8957, allocations: 81.77 kB / 1.084 GB, free: 75.41 MB / 0.6823 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.002165/0.8979, allocations: 1.268 MB / 1.086 GB, free: 74.82 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003453/0.8982, allocations: 101.3 kB / 1.086 GB, free: 74.77 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002544/0.9008, allocations: 1.569 MB / 1.087 GB, free: 74.15 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.792e-05/0.9008, allocations: 5.984 kB / 1.087 GB, free: 74.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.9008, allocations: 2.719 kB / 1.087 GB, free: 74.15 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006319/0.9015, allocations: 363.8 kB / 1.088 GB, free: 73.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002312/0.9017, allocations: 22.23 kB / 1.088 GB, free: 73.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.9028, allocations: 164.7 kB / 1.088 GB, free: 73.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.903, allocations: 50.94 kB / 1.088 GB, free: 73.89 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002514/0.9055, allocations: 1.94 MB / 1.09 GB, free: 72.91 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002126/0.9077, allocations: 1.98 MB / 1.092 GB, free: 71.78 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009029/0.9086, allocations: 0.6228 MB / 1.092 GB, free: 71.58 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001272/0.9099, allocations: 0.7938 MB / 1.093 GB, free: 71.27 MB / 0.6823 GB Notification: Performance of Backend: time 5.51e-07/0.9099, allocations: 3.938 kB / 1.093 GB, free: 71.27 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005417/0.9153, allocations: 2.577 MB / 1.096 GB, free: 70.39 MB / 0.6823 GB Notification: Performance of SimCode: time 0.00876/0.9241, allocations: 5.506 MB / 1.101 GB, free: 67.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.0421/0.9662, allocations: 25.65 MB / 1.126 GB, free: 53.43 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)