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.64/1.64, allocations: 288.4 MB / 303.7 MB, free: 8.105 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.0009912/0.0009912, allocations: 184.5 kB / 372.3 MB, free: 10.13 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.515/1.515, allocations: 205.4 MB / 0.631 GB, free: 9.906 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.0007148/0.0007148, allocations: 94.36 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005914/0.0005916, allocations: 11.75 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3027, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.0224/0.3251, allocations: 15.61 MB / 0.9954 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01303/0.3382, allocations: 5.571 MB / 1.001 GB, free: 6.094 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002267/0.3406, allocations: 43.88 kB / 1.001 GB, free: 6.051 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001549/0.3421, allocations: 317.7 kB / 1.001 GB, free: 5.738 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002786/0.345, allocations: 0.7121 MB / 1.002 GB, free: 5.023 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003018/0.348, allocations: 0.7207 MB / 1.003 GB, free: 4.305 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006254/0.3543, allocations: 4.973 MB / 1.007 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01681/0.3711, allocations: 7.87 MB / 1.015 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00389/0.3751, allocations: 1.304 MB / 1.016 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004959/0.3801, allocations: 1.889 MB / 1.018 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0006918/0.3808, allocations: 192 kB / 1.018 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002442/0.3833, allocations: 0.702 MB / 1.019 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002352/0.3856, allocations: 1.376 MB / 1.02 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.002599/0.3883, allocations: 1.348 MB / 1.022 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.008518/0.3968, allocations: 5.353 MB / 1.027 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 9.969e-06/0.3969, allocations: 4 kB / 1.027 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of FrontEnd: time 5.501e-06/0.3969, allocations: 0 / 1.027 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001951/0.3971, allocations: 7.938 kB / 1.027 GB, free: 11.15 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.009656/0.4068, allocations: 2.471 MB / 1.029 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.328e-05/0.4069, allocations: 12.02 kB / 1.029 GB, free: 8.605 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009563/0.4164, allocations: 1.145 MB / 1.031 GB, free: 7.457 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005492/0.422, allocations: 1.604 MB / 1.032 GB, free: 5.812 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003132/0.4223, allocations: 222.4 kB / 1.032 GB, free: 5.594 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001191/0.4235, allocations: 288.4 kB / 1.033 GB, free: 5.312 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01558/0.4391, allocations: 5.292 MB / 1.038 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-05/0.4393, allocations: 11.88 kB / 1.038 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005243/0.4398, allocations: 120 kB / 1.038 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003555/0.4402, allocations: 201 kB / 1.038 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01387/0.4541, allocations: 4.75 MB / 1.043 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04717/0.5013, allocations: 23.21 MB / 1.065 GB, free: 1.375 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5784/1.08, allocations: 3.177 MB / 1.068 GB, free: 82.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001745/1.082, allocations: 0.91 MB / 1.069 GB, free: 82.25 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/1.082, allocations: 101 kB / 1.069 GB, free: 82.16 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/1.082, allocations: 50.8 kB / 1.07 GB, free: 82.12 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=82): time 3.487e-06/1.082, allocations: 3.25 kB / 1.07 GB, free: 82.12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82): time 0.00363/1.086, allocations: 2.082 MB / 1.072 GB, free: 81.63 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.278e-05/1.086, allocations: 223.3 kB / 1.072 GB, free: 81.38 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/1.087, allocations: 1.087 MB / 1.073 GB, free: 80.98 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.979e-05/1.088, allocations: 41.58 kB / 1.073 GB, free: 80.94 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000809/1.088, allocations: 1.28 MB / 1.074 GB, free: 80.08 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002722/1.089, allocations: 306.8 kB / 1.074 GB, free: 79.86 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.551e-05/1.089, allocations: 29.88 kB / 1.074 GB, free: 79.83 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001825/1.089, allocations: 417.3 kB / 1.075 GB, free: 79.48 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/1.09, allocations: 0.8809 MB / 1.076 GB, free: 79.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001801/1.092, allocations: 1.507 MB / 1.077 GB, free: 78.13 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003176/1.095, allocations: 2.362 MB / 1.079 GB, free: 76.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.097e-05/1.095, allocations: 5.25 kB / 1.079 GB, free: 76.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004696/1.1, allocations: 2.484 MB / 1.082 GB, free: 75.78 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003422/1.101, allocations: 0.6421 MB / 1.083 GB, free: 74.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.685e-05/1.101, allocations: 23.47 kB / 1.083 GB, free: 74.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.635e-05/1.101, allocations: 29.69 kB / 1.083 GB, free: 74.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001755/1.102, allocations: 459.1 kB / 1.083 GB, free: 74.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.081e-05/1.102, allocations: 39.89 kB / 1.083 GB, free: 74.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/1.104, allocations: 349 kB / 1.083 GB, free: 74.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/1.104, allocations: 78.83 kB / 1.083 GB, free: 74.74 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/1.104, allocations: 5.531 kB / 1.083 GB, free: 74.74 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003565/1.108, allocations: 2.218 MB / 1.086 GB, free: 73.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.915e-05/1.108, allocations: 19.22 kB / 1.086 GB, free: 73.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.995e-05/1.108, allocations: 28.47 kB / 1.086 GB, free: 73.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/1.11, allocations: 441.7 kB / 1.086 GB, free: 73.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-05/1.11, allocations: 40.06 kB / 1.086 GB, free: 73.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/1.111, allocations: 251.3 kB / 1.086 GB, free: 73.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/1.111, allocations: 78.81 kB / 1.086 GB, free: 73.79 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.002513/1.114, allocations: 1.285 MB / 1.088 GB, free: 73.17 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004134/1.114, allocations: 101.2 kB / 1.088 GB, free: 73.12 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002629/1.117, allocations: 1.563 MB / 1.089 GB, free: 72.51 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/1.117, allocations: 12.11 kB / 1.089 GB, free: 72.51 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/1.117, allocations: 8.344 kB / 1.089 GB, free: 72.51 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/1.117, allocations: 9.734 kB / 1.089 GB, free: 72.51 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007759/1.125, allocations: 4.495 MB / 1.094 GB, free: 70.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.527e-06/1.125, allocations: 1.734 kB / 1.094 GB, free: 70.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/1.126, allocations: 252.3 kB / 1.094 GB, free: 70.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-05/1.126, allocations: 4.969 kB / 1.094 GB, free: 70.61 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-05/1.126, allocations: 18.59 kB / 1.094 GB, free: 70.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.867e-06/1.126, allocations: 9.188 kB / 1.094 GB, free: 70.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/1.126, allocations: 6.516 kB / 1.094 GB, free: 70.59 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/1.128, allocations: 1.913 MB / 1.096 GB, free: 69.53 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006348/1.129, allocations: 370.4 kB / 1.096 GB, free: 69.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/1.129, allocations: 13.25 kB / 1.096 GB, free: 69.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008686/1.13, allocations: 124.8 kB / 1.096 GB, free: 69.28 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/1.13, allocations: 55.17 kB / 1.096 GB, free: 69.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-05/1.13, allocations: 20.94 kB / 1.096 GB, free: 69.26 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001133/1.131, allocations: 0.7894 MB / 1.097 GB, free: 68.96 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/1.131, allocations: 3.281 kB / 1.097 GB, free: 68.96 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00344/1.134, allocations: 1.309 MB / 1.099 GB, free: 68.54 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.0002334/1.135, allocations: 118.9 kB / 1.099 GB, free: 68.43 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004959/1.14, allocations: 2.974 MB / 1.102 GB, free: 67.46 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/1.14, allocations: 448 / 1.102 GB, free: 67.46 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001202/1.141, allocations: 0.6622 MB / 1.102 GB, free: 67.25 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/1.143, allocations: 182.8 kB / 1.102 GB, free: 67.19 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009243/1.152, allocations: 5.534 MB / 1.108 GB, free: 64.25 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002214/1.154, allocations: 2.208 MB / 1.11 GB, free: 62.94 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002887/1.157, allocations: 1.092 MB / 1.111 GB, free: 62.48 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003458/1.158, allocations: 94.56 kB / 1.111 GB, free: 62.46 MB / 0.6823 GB Notification: Performance of SimCode: time 1.152e-06/1.158, allocations: 3.469 kB / 1.111 GB, free: 62.46 MB / 0.6823 GB Notification: Performance of Templates: time 0.02574/1.183, allocations: 14.84 MB / 1.126 GB, free: 52.99 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)