Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.812/1.812, allocations: 292.3 MB / 308.1 MB, free: 4.254 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.001184/0.001184, allocations: 187.9 kB / 376.9 MB, free: 1.805 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.513/1.513, allocations: 205.1 MB / 0.6354 GB, free: 9.754 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001239/0.001239, allocations: 103.1 kB / 0.748 GB, free: 61.38 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 55.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2855, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.02857/0.3141, allocations: 17.09 MB / 0.9989 GB, free: 9.215 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01334/0.3275, allocations: 5.917 MB / 1.005 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002223/0.3298, allocations: 43.88 kB / 1.005 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.00452/0.3344, allocations: 1.206 MB / 1.006 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.003466/0.3379, allocations: 0.7824 MB / 1.007 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.004777/0.3427, allocations: 1.224 MB / 1.008 GB, free: 16 kB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.009747/0.3525, allocations: 6.522 MB / 1.014 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01496/0.3675, allocations: 7.62 MB / 1.022 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004124/0.3717, allocations: 1.62 MB / 1.023 GB, free: 128 kB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6193/0.991, allocations: 2.334 MB / 1.026 GB, free: 72.91 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0007826/0.9918, allocations: 318.8 kB / 1.026 GB, free: 72.91 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001875/0.9937, allocations: 0.845 MB / 1.027 GB, free: 72.91 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.00166/0.9954, allocations: 1.591 MB / 1.028 GB, free: 72.83 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001913/0.9973, allocations: 1.626 MB / 1.03 GB, free: 72.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00772/1.005, allocations: 6.273 MB / 1.036 GB, free: 71.99 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/1.005, allocations: 0 / 1.036 GB, free: 71.99 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.104e-06/1.005, allocations: 1.625 kB / 1.036 GB, free: 71.99 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002301/1.005, allocations: 1.188 kB / 1.036 GB, free: 71.99 MB / 0.7448 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.01129/1.017, allocations: 3.066 MB / 1.039 GB, free: 70.87 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/1.017, allocations: 11.41 kB / 1.039 GB, free: 70.87 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005701/1.022, allocations: 1.117 MB / 1.04 GB, free: 70.73 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00537/1.028, allocations: 1.607 MB / 1.042 GB, free: 70.36 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002386/1.028, allocations: 227.4 kB / 1.042 GB, free: 70.35 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001063/1.029, allocations: 292.9 kB / 1.042 GB, free: 70.35 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01372/1.043, allocations: 5.3 MB / 1.047 GB, free: 70.05 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00017/1.043, allocations: 5.25 kB / 1.047 GB, free: 70.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001456/1.045, allocations: 123.2 kB / 1.047 GB, free: 70.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002864/1.045, allocations: 214.8 kB / 1.048 GB, free: 70.03 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01042/1.055, allocations: 4.76 MB / 1.052 GB, free: 70 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03092/1.086, allocations: 23.17 MB / 1.075 GB, free: 53.68 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004459/1.091, allocations: 3.177 MB / 1.078 GB, free: 51.88 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/1.092, allocations: 0.9221 MB / 1.079 GB, free: 51.55 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001947/1.092, allocations: 109.7 kB / 1.079 GB, free: 51.45 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.836e-05/1.092, allocations: 41 kB / 1.079 GB, free: 51.4 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=82): time 5.591e-06/1.093, allocations: 0 / 1.079 GB, free: 51.4 MB / 0.7448 GB Notification: Performance of matching and sorting (n=82): time 0.003465/1.096, allocations: 2.082 MB / 1.081 GB, free: 50.7 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.369e-05/1.096, allocations: 218.3 kB / 1.081 GB, free: 50.45 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/1.098, allocations: 1.093 MB / 1.082 GB, free: 50.02 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001149/1.098, allocations: 40.14 kB / 1.082 GB, free: 49.98 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006756/1.099, allocations: 1.289 MB / 1.084 GB, free: 49.01 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002602/1.099, allocations: 301.8 kB / 1.084 GB, free: 48.79 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005504/1.099, allocations: 354.3 kB / 1.084 GB, free: 48.62 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.37e-05/1.099, allocations: 342.5 kB / 1.085 GB, free: 48.3 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/1.101, allocations: 0.8882 MB / 1.085 GB, free: 48 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/1.102, allocations: 1.52 MB / 1.087 GB, free: 46.93 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002623/1.105, allocations: 2.35 MB / 1.089 GB, free: 45.55 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/1.105, allocations: 15.19 kB / 1.089 GB, free: 45.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003247/1.108, allocations: 2.487 MB / 1.092 GB, free: 44.74 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/1.108, allocations: 12.91 kB / 1.092 GB, free: 44.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/1.108, allocations: 18.94 kB / 1.092 GB, free: 44.74 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.901e-05/1.108, allocations: 29.5 kB / 1.092 GB, free: 44.74 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/1.11, allocations: 466.4 kB / 1.092 GB, free: 44.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.285e-05/1.11, allocations: 39.19 kB / 1.092 GB, free: 44.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/1.111, allocations: 337.1 kB / 1.093 GB, free: 44.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/1.111, allocations: 83.78 kB / 1.093 GB, free: 44.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002837/1.114, allocations: 1.904 MB / 1.094 GB, free: 43.89 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001202/1.115, allocations: 1.445 MB / 1.096 GB, free: 42.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002028/1.117, allocations: 2.199 MB / 1.098 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.775e-06/1.117, allocations: 6.188 kB / 1.098 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.002978/1.12, allocations: 2.325 MB / 1.1 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/1.12, allocations: 15.75 kB / 1.1 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/1.12, allocations: 23.38 kB / 1.1 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/1.12, allocations: 29.56 kB / 1.1 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/1.122, allocations: 435.1 kB / 1.101 GB, free: 40.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.942e-05/1.122, allocations: 41.53 kB / 1.101 GB, free: 40.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/1.123, allocations: 289.1 kB / 1.101 GB, free: 40.65 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/1.123, allocations: 79.7 kB / 1.101 GB, free: 40.64 MB / 0.7448 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.0004405/1.124, allocations: 279.1 kB / 1.101 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002937/1.124, allocations: 108.8 kB / 1.102 GB, free: 40.35 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002205/1.126, allocations: 1.556 MB / 1.103 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/1.126, allocations: 12.59 kB / 1.103 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/1.126, allocations: 0 / 1.103 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/1.126, allocations: 6.359 kB / 1.103 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006503/1.133, allocations: 4.492 MB / 1.107 GB, free: 37.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/1.133, allocations: 3.125 kB / 1.107 GB, free: 37.87 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009423/1.134, allocations: 246.9 kB / 1.108 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/1.134, allocations: 3 kB / 1.108 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.567e-05/1.134, allocations: 21.91 kB / 1.108 GB, free: 37.85 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.568e-06/1.134, allocations: 8.062 kB / 1.108 GB, free: 37.85 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.134, allocations: 0 / 1.108 GB, free: 37.85 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002842/1.137, allocations: 3.46 MB / 1.111 GB, free: 35.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006042/1.138, allocations: 316.9 kB / 1.111 GB, free: 35.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/1.138, allocations: 30.22 kB / 1.111 GB, free: 35.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008537/1.139, allocations: 116 kB / 1.112 GB, free: 35.61 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/1.139, allocations: 52.89 kB / 1.112 GB, free: 35.6 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.801e-05/1.139, allocations: 23.83 kB / 1.112 GB, free: 35.59 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0008564/1.14, allocations: 0.8035 MB / 1.112 GB, free: 35.28 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/1.14, allocations: 0 / 1.112 GB, free: 35.28 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003693/1.143, allocations: 1.302 MB / 1.114 GB, free: 34.86 MB / 0.7448 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.0001986/1.144, allocations: 127 kB / 1.114 GB, free: 34.76 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003789/1.147, allocations: 2.977 MB / 1.117 GB, free: 33.91 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.147, allocations: 0 / 1.117 GB, free: 33.91 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007429/1.148, allocations: 0.6538 MB / 1.117 GB, free: 33.72 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/1.149, allocations: 201.2 kB / 1.118 GB, free: 33.65 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00739/1.157, allocations: 6.284 MB / 1.124 GB, free: 30.14 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001997/1.159, allocations: 2.251 MB / 1.126 GB, free: 29.07 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002714/1.162, allocations: 1.099 MB / 1.127 GB, free: 29.01 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003632/1.162, allocations: 89.5 kB / 1.127 GB, free: 29 MB / 0.7448 GB Notification: Performance of SimCode: time 1.923e-06/1.162, allocations: 0 / 1.127 GB, free: 29 MB / 0.7448 GB Notification: Performance of Templates: time 0.03935/1.201, allocations: 15.72 MB / 1.142 GB, free: 28.16 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)