Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.903/1.903, allocations: 288.3 MB / 303.2 MB, free: 8.156 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.001022/0.001022, allocations: 187.4 kB / 371.9 MB, free: 10.27 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.862/1.862, allocations: 205.4 MB / 0.6306 GB, free: 10.01 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.0009404/0.0009407, allocations: 111.8 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004929/0.000493, allocations: 19.03 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2896, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.02472/0.3144, allocations: 15.34 MB / 0.9944 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0129/0.3274, allocations: 5.556 MB / 0.9998 GB, free: 6.738 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001739/0.3292, allocations: 43.88 kB / 0.9999 GB, free: 6.695 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.3304, allocations: 357.8 kB / 1 GB, free: 6.344 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002388/0.3328, allocations: 0.5685 MB / 1.001 GB, free: 5.773 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003175/0.336, allocations: 0.7702 MB / 1.002 GB, free: 5.004 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003075/0.3391, allocations: 1.891 MB / 1.003 GB, free: 3.109 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01406/0.3532, allocations: 7.03 MB / 1.01 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002804/0.356, allocations: 1.067 MB / 1.011 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003609/0.3596, allocations: 1.235 MB / 1.012 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001173/0.3608, allocations: 192 kB / 1.013 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002462/0.3633, allocations: 411.5 kB / 1.013 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.003217/0.3666, allocations: 1.275 MB / 1.014 GB, free: 7.832 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001839/0.3684, allocations: 0.5628 MB / 1.015 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.009078/0.3775, allocations: 5.315 MB / 1.02 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/0.3776, allocations: 0 / 1.02 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.284e-06/0.3776, allocations: 3.938 kB / 1.02 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002393/0.3778, allocations: 0 / 1.02 GB, free: 1.93 MB / 0.6355 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.01124/0.3891, allocations: 2.498 MB / 1.022 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.938e-05/0.3892, allocations: 20 kB / 1.023 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01093/0.4001, allocations: 1.206 MB / 1.024 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007225/0.4074, allocations: 1.588 MB / 1.025 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004213/0.4078, allocations: 226 kB / 1.025 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001783/0.4096, allocations: 292 kB / 1.026 GB, free: 12 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02186/0.4315, allocations: 5.257 MB / 1.031 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002054/0.4318, allocations: 0 / 1.031 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001736/0.4336, allocations: 128 kB / 1.031 GB, free: 6.52 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005379/0.4342, allocations: 205.1 kB / 1.031 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01354/0.4478, allocations: 4.749 MB / 1.036 GB, free: 1.555 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03034/0.4781, allocations: 23.2 MB / 1.058 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004718/0.4829, allocations: 3.187 MB / 1.062 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001864/0.4831, allocations: 105.7 kB / 1.062 GB, free: 4.535 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/0.4832, allocations: 51.22 kB / 1.062 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=82): time 3.587e-06/0.4832, allocations: 0 / 1.062 GB, free: 4.477 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82): time 0.003353/0.4866, allocations: 2.113 MB / 1.064 GB, free: 2.355 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.4867, allocations: 218.2 kB / 1.064 GB, free: 2.094 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.4883, allocations: 1.094 MB / 1.065 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.53e-05/0.4884, allocations: 41.7 kB / 1.065 GB, free: 0.9453 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.5556/1.044, allocations: 1.276 MB / 1.066 GB, free: 83.61 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005739/1.045, allocations: 301.2 kB / 1.067 GB, free: 83.43 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/1.045, allocations: 31.44 kB / 1.067 GB, free: 83.43 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000405/1.045, allocations: 412.3 kB / 1.067 GB, free: 83.12 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002711/1.048, allocations: 0.8911 MB / 1.068 GB, free: 83.11 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002685/1.051, allocations: 1.509 MB / 1.069 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002454/1.053, allocations: 1.196 MB / 1.071 GB, free: 81.78 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.789e-05/1.053, allocations: 5.219 kB / 1.071 GB, free: 81.78 MB / 0.6823 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005687/1.059, allocations: 2.511 MB / 1.073 GB, free: 80.85 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.002222/1.061, allocations: 7.491 MB / 1.08 GB, free: 72.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.998e-05/1.061, allocations: 19.56 kB / 1.08 GB, free: 72.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001206/1.061, allocations: 32.69 kB / 1.08 GB, free: 72.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/1.063, allocations: 464.6 kB / 1.081 GB, free: 72.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001067/1.064, allocations: 40.41 kB / 1.081 GB, free: 72.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/1.066, allocations: 340 kB / 1.081 GB, free: 72.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002408/1.066, allocations: 79.66 kB / 1.081 GB, free: 72.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/1.066, allocations: 2.969 kB / 1.081 GB, free: 72.66 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004552/1.07, allocations: 2.236 MB / 1.083 GB, free: 71.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-05/1.07, allocations: 20.11 kB / 1.083 GB, free: 71.85 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.826e-05/1.071, allocations: 30.84 kB / 1.084 GB, free: 71.85 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/1.072, allocations: 445.6 kB / 1.084 GB, free: 71.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.033e-05/1.072, allocations: 43.5 kB / 1.084 GB, free: 71.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/1.074, allocations: 248.7 kB / 1.084 GB, free: 71.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002424/1.074, allocations: 77.33 kB / 1.084 GB, free: 71.7 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.002887/1.077, allocations: 1.281 MB / 1.086 GB, free: 71.09 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004818/1.078, allocations: 101.1 kB / 1.086 GB, free: 71.04 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003127/1.081, allocations: 1.589 MB / 1.087 GB, free: 70.43 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-05/1.081, allocations: 9.875 kB / 1.087 GB, free: 70.43 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/1.081, allocations: 6.172 kB / 1.087 GB, free: 70.43 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.23e-05/1.081, allocations: 6.047 kB / 1.087 GB, free: 70.43 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009754/1.091, allocations: 4.25 MB / 1.091 GB, free: 68.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/1.091, allocations: 5.781 kB / 1.091 GB, free: 68.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/1.092, allocations: 249.6 kB / 1.092 GB, free: 68.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.261e-05/1.092, allocations: 3.844 kB / 1.092 GB, free: 68.79 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.693e-05/1.092, allocations: 20.28 kB / 1.092 GB, free: 68.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-06/1.092, allocations: 5.484 kB / 1.092 GB, free: 68.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.092, allocations: 2.297 kB / 1.092 GB, free: 68.78 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002477/1.094, allocations: 2.008 MB / 1.094 GB, free: 67.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008432/1.095, allocations: 365 kB / 1.094 GB, free: 67.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002442/1.095, allocations: 17.31 kB / 1.094 GB, free: 67.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/1.096, allocations: 132 kB / 1.094 GB, free: 67.34 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/1.097, allocations: 46.8 kB / 1.094 GB, free: 67.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.862e-05/1.097, allocations: 25.16 kB / 1.094 GB, free: 67.33 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001558/1.098, allocations: 0.7936 MB / 1.095 GB, free: 67.02 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/1.098, allocations: 0 / 1.095 GB, free: 67.02 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004894/1.103, allocations: 1.301 MB / 1.096 GB, free: 66.61 MB / 0.6823 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.0002719/1.103, allocations: 129.5 kB / 1.096 GB, free: 66.49 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00608/1.11, allocations: 3.007 MB / 1.099 GB, free: 65.51 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.11, allocations: 0.9375 kB / 1.099 GB, free: 65.51 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/1.111, allocations: 0.6767 MB / 1.1 GB, free: 65.29 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/1.112, allocations: 166.5 kB / 1.1 GB, free: 65.25 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/1.122, allocations: 5.531 MB / 1.105 GB, free: 62.32 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003298/1.125, allocations: 2.255 MB / 1.108 GB, free: 61.25 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003587/1.129, allocations: 1.104 MB / 1.109 GB, free: 61.18 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005257/1.13, allocations: 86.47 kB / 1.109 GB, free: 61.17 MB / 0.6823 GB Notification: Performance of SimCode: time 1.643e-06/1.13, allocations: 0 / 1.109 GB, free: 61.17 MB / 0.6823 GB Notification: Performance of Templates: time 0.03168/1.161, allocations: 14.73 MB / 1.123 GB, free: 54.64 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)