Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.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.005743/0.005743, allocations: 101.2 kB / 15.73 MB, free: 6.059 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.001158/0.001157, allocations: 197.3 kB / 16.67 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.1 MB / 222.6 MB, free: 4.332 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.575/1.575, allocations: 251.7 MB / 0.5094 GB, free: 3.07 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 67.84 kB / 0.7258 GB, free: 9.035 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3104, allocations: 104.7 MB / 0.828 GB, free: 232 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.02932/0.3398, allocations: 17.2 MB / 0.8448 GB, free: 14.97 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01224/0.3521, allocations: 5.9 MB / 0.8506 GB, free: 9.051 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002027/0.3541, allocations: 51.88 kB / 0.8506 GB, free: 9 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004001/0.3582, allocations: 1.298 MB / 0.8519 GB, free: 7.699 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003442/0.3617, allocations: 0.8441 MB / 0.8527 GB, free: 6.852 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004253/0.366, allocations: 1.332 MB / 0.854 GB, free: 5.52 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005803/0.3718, allocations: 4.291 MB / 0.8582 GB, free: 1.219 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01011/0.3819, allocations: 6.801 MB / 0.8649 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003672/0.3856, allocations: 1.925 MB / 0.8667 GB, free: 8.375 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004451/0.3901, allocations: 2.287 MB / 0.869 GB, free: 6.082 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00222/0.3924, allocations: 448 kB / 0.8694 GB, free: 5.645 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003912/0.3963, allocations: 0.8467 MB / 0.8702 GB, free: 4.797 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003884/0.4002, allocations: 1.72 MB / 0.8719 GB, free: 3.074 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004251/0.4045, allocations: 1.759 MB / 0.8736 GB, free: 1.309 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008642/0.4132, allocations: 6.377 MB / 0.8799 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.4133, allocations: 0 / 0.8799 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.424e-06/0.4133, allocations: 0 / 0.8799 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002512/0.4135, allocations: 0 / 0.8799 GB, free: 10.91 MB / 0.7012 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.01109/0.4246, allocations: 3.08 MB / 0.8829 GB, free: 7.773 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.4247, allocations: 12.03 kB / 0.8829 GB, free: 7.762 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005103/0.4298, allocations: 1.117 MB / 0.884 GB, free: 6.641 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003717/0.4336, allocations: 1.631 MB / 0.8856 GB, free: 4.965 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001666/0.4337, allocations: 222.4 kB / 0.8858 GB, free: 4.746 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005562/0.4343, allocations: 296.3 kB / 0.8861 GB, free: 4.457 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009173/0.4435, allocations: 5.307 MB / 0.8912 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.604e-05/0.4436, allocations: 3.938 kB / 0.8912 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003228/0.4439, allocations: 124 kB / 0.8914 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002247/0.4442, allocations: 209.1 kB / 0.8916 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008881/0.453, allocations: 4.761 MB / 0.8962 GB, free: 9.945 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03219/0.4853, allocations: 23 MB / 0.9187 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.646/1.131, allocations: 3.169 MB / 0.9218 GB, free: 84.27 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00165/1.133, allocations: 0.9184 MB / 0.9227 GB, free: 84.13 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001751/1.133, allocations: 104.8 kB / 0.9228 GB, free: 84.04 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/1.133, allocations: 49.83 kB / 0.9228 GB, free: 83.99 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 3.407e-06/1.133, allocations: 3.656 kB / 0.9228 GB, free: 83.99 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82): time 0.004321/1.138, allocations: 2.072 MB / 0.9248 GB, free: 83.34 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.206e-05/1.138, allocations: 217.7 kB / 0.925 GB, free: 83.09 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002136/1.14, allocations: 1.096 MB / 0.9261 GB, free: 82.69 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.369e-05/1.14, allocations: 38.83 kB / 0.9262 GB, free: 82.65 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001054/1.141, allocations: 1.289 MB / 0.9274 GB, free: 81.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003107/1.141, allocations: 298.4 kB / 0.9277 GB, free: 81.59 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007661/1.142, allocations: 353.8 kB / 0.928 GB, free: 81.43 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.142, allocations: 344.5 kB / 0.9284 GB, free: 81.11 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002111/1.144, allocations: 0.8909 MB / 0.9292 GB, free: 80.81 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00281/1.147, allocations: 1.516 MB / 0.9307 GB, free: 79.74 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004025/1.151, allocations: 2.358 MB / 0.933 GB, free: 78.33 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-05/1.151, allocations: 5.531 kB / 0.933 GB, free: 78.33 MB / 0.7325 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005094/1.156, allocations: 2.489 MB / 0.9355 GB, free: 77.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.587e-05/1.156, allocations: 13.98 kB / 0.9355 GB, free: 77.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.283e-05/1.156, allocations: 21.08 kB / 0.9355 GB, free: 77.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.636e-05/1.157, allocations: 26.28 kB / 0.9355 GB, free: 77.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/1.158, allocations: 462.2 kB / 0.936 GB, free: 77.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.686e-05/1.158, allocations: 41 kB / 0.936 GB, free: 77.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/1.16, allocations: 348 kB / 0.9363 GB, free: 77.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/1.16, allocations: 80.59 kB / 0.9364 GB, free: 77.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00353/1.164, allocations: 1.902 MB / 0.9383 GB, free: 76.54 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001599/1.165, allocations: 1.439 MB / 0.9397 GB, free: 75.46 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002682/1.168, allocations: 2.203 MB / 0.9418 GB, free: 74.05 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-05/1.168, allocations: 7.094 kB / 0.9418 GB, free: 74.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003887/1.172, allocations: 2.325 MB / 0.9441 GB, free: 73.19 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.015e-05/1.172, allocations: 15.16 kB / 0.9441 GB, free: 73.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-05/1.172, allocations: 19.44 kB / 0.9441 GB, free: 73.19 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.399e-05/1.172, allocations: 32.22 kB / 0.9442 GB, free: 73.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/1.174, allocations: 439.6 kB / 0.9446 GB, free: 73.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.555e-05/1.174, allocations: 43.72 kB / 0.9446 GB, free: 73.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/1.175, allocations: 285.5 kB / 0.9449 GB, free: 73.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/1.175, allocations: 77.27 kB / 0.945 GB, free: 73.04 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005094/1.176, allocations: 290.9 kB / 0.9452 GB, free: 72.78 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003276/1.176, allocations: 97.72 kB / 0.9453 GB, free: 72.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002664/1.179, allocations: 1.558 MB / 0.9469 GB, free: 72.12 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/1.179, allocations: 9.438 kB / 0.9469 GB, free: 72.12 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/1.179, allocations: 3.297 kB / 0.9469 GB, free: 72.12 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/1.179, allocations: 5.031 kB / 0.9469 GB, free: 72.12 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007393/1.186, allocations: 4.476 MB / 0.9512 GB, free: 70.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/1.186, allocations: 5.625 kB / 0.9512 GB, free: 70.24 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/1.188, allocations: 246 kB / 0.9515 GB, free: 70.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-05/1.188, allocations: 7.453 kB / 0.9515 GB, free: 70.23 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.323e-05/1.188, allocations: 21.12 kB / 0.9515 GB, free: 70.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.718e-06/1.188, allocations: 5.875 kB / 0.9515 GB, free: 70.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.188, allocations: 2.938 kB / 0.9515 GB, free: 70.21 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002426/1.19, allocations: 1.911 MB / 0.9534 GB, free: 69.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005407/1.191, allocations: 324.2 kB / 0.9537 GB, free: 68.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/1.191, allocations: 18.66 kB / 0.9537 GB, free: 68.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008347/1.192, allocations: 123.9 kB / 0.9538 GB, free: 68.93 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/1.192, allocations: 58.48 kB / 0.9539 GB, free: 68.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-05/1.192, allocations: 23.59 kB / 0.9539 GB, free: 68.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001163/1.193, allocations: 0.7981 MB / 0.9547 GB, free: 68.59 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.91e-07/1.193, allocations: 0 / 0.9547 GB, free: 68.59 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004065/1.197, allocations: 1.302 MB / 0.956 GB, free: 68.18 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002095/1.197, allocations: 125 kB / 0.9561 GB, free: 68.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004837/1.202, allocations: 2.986 MB / 0.959 GB, free: 67.09 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/1.202, allocations: 0 / 0.959 GB, free: 67.09 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007592/1.203, allocations: 0.6668 MB / 0.9596 GB, free: 66.88 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/1.204, allocations: 199.4 kB / 0.9598 GB, free: 66.81 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007061/1.212, allocations: 4.497 MB / 0.9642 GB, free: 64.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001737/1.213, allocations: 2.212 MB / 0.9664 GB, free: 63.38 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002129/1.215, allocations: 1.101 MB / 0.9675 GB, free: 62.61 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003086/1.216, allocations: 87.42 kB / 0.9675 GB, free: 62.52 MB / 0.7325 GB Notification: Performance of SimCode: time 1.172e-06/1.216, allocations: 0 / 0.9675 GB, free: 62.52 MB / 0.7325 GB Notification: Performance of Templates: time 0.02372/1.239, allocations: 16.33 MB / 0.9835 GB, free: 46.33 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)