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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.357/1.357, allocations: 252 MB / 268 MB, free: 10.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009417/0.0009417, allocations: 172.1 kB / 327.6 MB, free: 2.113 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.4 MB / 0.5786 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007944/0.0007944, allocations: 87.89 kB / 0.6832 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003208, allocations: 9.406 kB / 0.7976 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1969, allocations: 106.3 MB / 0.9015 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01407/0.211, allocations: 16.51 MB / 0.9176 GB, free: 46.99 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007713/0.2188, allocations: 5.862 MB / 0.9233 GB, free: 41.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.2201, allocations: 43.88 kB / 0.9233 GB, free: 41.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007052/0.2209, allocations: 325.7 kB / 0.9237 GB, free: 40.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001584/0.2225, allocations: 0.7824 MB / 0.9244 GB, free: 39.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.2242, allocations: 0.8667 MB / 0.9253 GB, free: 39.1 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004409/0.2286, allocations: 6.491 MB / 0.9316 GB, free: 32.6 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008371/0.237, allocations: 7.941 MB / 0.9394 GB, free: 24.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002098/0.2392, allocations: 1.323 MB / 0.9406 GB, free: 23.22 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002628/0.2418, allocations: 1.935 MB / 0.9425 GB, free: 21.28 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0004456/0.2423, allocations: 192 kB / 0.9427 GB, free: 21.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001456/0.2437, allocations: 0.7176 MB / 0.9434 GB, free: 20.38 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001052/0.2448, allocations: 1.388 MB / 0.9448 GB, free: 18.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.246, allocations: 1.409 MB / 0.9462 GB, free: 17.56 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003526/0.2495, allocations: 5.354 MB / 0.9514 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.2496, allocations: 3.938 kB / 0.9514 GB, free: 12.19 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2496, allocations: 7.938 kB / 0.9514 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001121/0.2497, allocations: 0 / 0.9514 GB, free: 12.18 MB / 0.6042 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.00415/0.2538, allocations: 2.473 MB / 0.9538 GB, free: 9.652 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.2539, allocations: 12.03 kB / 0.9538 GB, free: 9.641 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004574/0.2585, allocations: 1.145 MB / 0.9549 GB, free: 8.492 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002467/0.261, allocations: 1.596 MB / 0.9565 GB, free: 6.852 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.2611, allocations: 222.4 kB / 0.9567 GB, free: 6.633 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004029/0.2615, allocations: 292.4 kB / 0.957 GB, free: 6.348 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007338/0.2688, allocations: 5.311 MB / 0.9622 GB, free: 0.9375 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.184e-05/0.2689, allocations: 3.938 kB / 0.9622 GB, free: 0.9336 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002865/0.2692, allocations: 124 kB / 0.9623 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001838/0.2694, allocations: 209.1 kB / 0.9625 GB, free: 0.6055 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00757/0.277, allocations: 4.772 MB / 0.9672 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02686/0.3039, allocations: 23.21 MB / 0.9898 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004505/0.3085, allocations: 3.199 MB / 0.9929 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/0.3098, allocations: 0.9017 MB / 0.9938 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001644/0.31, allocations: 105.7 kB / 0.9939 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.043e-05/0.31, allocations: 59.14 kB / 0.994 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=82): time 3.366e-06/0.31, allocations: 0 / 0.994 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=82): time 0.003293/0.3133, allocations: 2.082 MB / 0.996 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.3135, allocations: 230.2 kB / 0.9962 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001685/0.3151, allocations: 1.094 MB / 0.9973 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.971e-05/0.3152, allocations: 41.7 kB / 0.9973 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009006/0.3161, allocations: 1.285 MB / 0.9986 GB, free: 8.969 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.00029/0.3164, allocations: 303.9 kB / 0.9989 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.3166, allocations: 28 kB / 0.9989 GB, free: 8.641 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.3168, allocations: 410.7 kB / 0.9993 GB, free: 8.23 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.318, allocations: 0.89 MB / 1 GB, free: 7.34 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/0.3198, allocations: 1.515 MB / 1.002 GB, free: 5.547 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002925/0.3227, allocations: 2.373 MB / 1.004 GB, free: 2.91 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.559e-05/0.3228, allocations: 4 kB / 1.004 GB, free: 2.906 MB / 0.6511 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003706/0.3265, allocations: 2.492 MB / 1.006 GB, free: 416 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004673/0.3269, allocations: 0.6587 MB / 1.007 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.847e-05/0.327, allocations: 19.94 kB / 1.007 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.074e-05/0.327, allocations: 31.94 kB / 1.007 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/0.3286, allocations: 463.2 kB / 1.008 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.307e-05/0.3287, allocations: 39.86 kB / 1.008 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.3302, allocations: 349.8 kB / 1.008 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.3303, allocations: 75.98 kB / 1.008 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/0.3303, allocations: 4 kB / 1.008 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003268/0.3336, allocations: 2.23 MB / 1.01 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.383e-05/0.3337, allocations: 20 kB / 1.01 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/0.3337, allocations: 28 kB / 1.01 GB, free: 12.24 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.3351, allocations: 443.2 kB / 1.011 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.89e-05/0.3352, allocations: 39.92 kB / 1.011 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.3364, allocations: 255 kB / 1.011 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.3365, allocations: 79.98 kB / 1.011 GB, free: 11.44 MB / 0.6667 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.001911/0.3384, allocations: 1.273 MB / 1.012 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003351/0.3388, allocations: 102.9 kB / 1.012 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/0.3411, allocations: 1.56 MB / 1.014 GB, free: 8.469 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.3411, allocations: 16 kB / 1.014 GB, free: 8.453 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3411, allocations: 0 / 1.014 GB, free: 8.453 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.3411, allocations: 7.984 kB / 1.014 GB, free: 8.445 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006962/0.3481, allocations: 4.505 MB / 1.018 GB, free: 3.824 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.3482, allocations: 4 kB / 1.018 GB, free: 3.82 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009754/0.3491, allocations: 247.6 kB / 1.019 GB, free: 3.578 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.431e-05/0.3492, allocations: 7.984 kB / 1.019 GB, free: 3.57 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.859e-05/0.3492, allocations: 20 kB / 1.019 GB, free: 3.551 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.278e-06/0.3493, allocations: 4 kB / 1.019 GB, free: 3.547 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3493, allocations: 3.938 kB / 1.019 GB, free: 3.543 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00223/0.3515, allocations: 1.923 MB / 1.02 GB, free: 1.602 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007094/0.3522, allocations: 363.5 kB / 1.021 GB, free: 1.227 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002204/0.3525, allocations: 19.94 kB / 1.021 GB, free: 1.207 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.3536, allocations: 123.8 kB / 1.021 GB, free: 1.086 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.3537, allocations: 52.47 kB / 1.021 GB, free: 1.035 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.447e-05/0.3538, allocations: 24 kB / 1.021 GB, free: 1.012 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001341/0.3552, allocations: 0.8035 MB / 1.022 GB, free: 220 kB / 0.6667 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3552, allocations: 0 / 1.022 GB, free: 220 kB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00394/0.3591, allocations: 1.302 MB / 1.023 GB, free: 14.9 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 (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.0002116/0.3594, allocations: 123.1 kB / 1.023 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004472/0.3638, allocations: 2.999 MB / 1.026 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.3639, allocations: 0 / 1.026 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009152/0.3648, allocations: 0.6555 MB / 1.027 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.3664, allocations: 186.5 kB / 1.027 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009132/0.3756, allocations: 6.269 MB / 1.033 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002111/0.3777, allocations: 2.282 MB / 1.035 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005154/0.3782, allocations: 111.4 kB / 1.035 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of SimCode: time 7.51e-07/0.3783, allocations: 0 / 1.035 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of Templates: time 0.3962/0.7745, allocations: 28.27 MB / 1.063 GB, free: 131.6 MB / 0.698 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)