Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.658/1.658, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.00124/0.00124, allocations: 184.8 kB / 366.7 MB, free: 1.645 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.499/1.499, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0007666/0.0007665, allocations: 85.52 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.323e-05/2.324e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7628/0.7628, allocations: 116.3 MB / 0.9733 GB, free: 76.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.243/1.006, allocations: 160.2 MB / 1.13 GB, free: 5.98 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003306/1.006, allocations: 97.52 kB / 1.13 GB, free: 5.887 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03612/1.042, allocations: 14.09 MB / 1.144 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.803e-06/1.043, allocations: 4 kB / 1.144 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.864e-05/1.043, allocations: 3.656 kB / 1.144 GB, free: 7.734 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0008534/1.043, allocations: 480.2 kB / 1.144 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/1.043, allocations: 8.031 kB / 1.144 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007527/1.044, allocations: 79.62 kB / 1.144 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/1.045, allocations: 234.7 kB / 1.144 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/1.045, allocations: 11.94 kB / 1.144 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.643e-05/1.045, allocations: 12 kB / 1.144 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003699/1.045, allocations: 180.6 kB / 1.145 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004742/1.046, allocations: 295.5 kB / 1.145 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/1.046, allocations: 4 kB / 1.145 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/1.046, allocations: 4 kB / 1.145 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-05/1.046, allocations: 12 kB / 1.145 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/1.048, allocations: 1.571 MB / 1.146 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006793/1.048, allocations: 404.9 kB / 1.147 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/1.048, allocations: 85.67 kB / 1.147 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001918/1.049, allocations: 97.08 kB / 1.147 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/1.049, allocations: 32.59 kB / 1.147 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/1.049, allocations: 3.938 kB / 1.147 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0007267/1.049, allocations: 252.5 kB / 1.147 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/1.049, allocations: 81.11 kB / 1.147 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/1.05, allocations: 139.2 kB / 1.147 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/1.05, allocations: 29.7 kB / 1.147 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/1.05, allocations: 155.8 kB / 1.148 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.407e-05/1.05, allocations: 47.36 kB / 1.148 GB, free: 3.188 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/1.05, allocations: 0 / 1.148 GB, free: 3.188 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.05, allocations: 322.8 kB / 1.148 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/1.05, allocations: 71.91 kB / 1.148 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/1.05, allocations: 150.2 kB / 1.148 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002525/1.051, allocations: 103.9 kB / 1.148 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.051, allocations: 4 kB / 1.148 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005023/1.051, allocations: 261.3 kB / 1.149 GB, free: 2.246 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005056/1.052, allocations: 0.9769 MB / 1.149 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/1.052, allocations: 0 / 1.149 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/1.052, allocations: 8 kB / 1.149 GB, free: 1.188 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/1.052, allocations: 55.86 kB / 1.15 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/1.052, allocations: 11.64 kB / 1.15 GB, free: 1.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/1.052, allocations: 19.83 kB / 1.15 GB, free: 1.105 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/1.052, allocations: 12 kB / 1.15 GB, free: 1.094 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/1.052, allocations: 4 kB / 1.15 GB, free: 1.09 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003834/1.053, allocations: 197 kB / 1.15 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/1.053, allocations: 4 kB / 1.15 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.374e-06/1.053, allocations: 4 kB / 1.15 GB, free: 0.8906 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/1.053, allocations: 51.91 kB / 1.15 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/1.053, allocations: 4 kB / 1.15 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/1.053, allocations: 7.984 kB / 1.15 GB, free: 0.8281 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/1.053, allocations: 10.88 kB / 1.15 GB, free: 0.8203 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001033/1.053, allocations: 112.9 kB / 1.15 GB, free: 0.7031 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.091e-05/1.053, allocations: 15.81 kB / 1.15 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003988/1.054, allocations: 203 kB / 1.15 GB, free: 492 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/1.054, allocations: 3.938 kB / 1.15 GB, free: 488 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/1.054, allocations: 0 / 1.15 GB, free: 488 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/1.054, allocations: 4 kB / 1.15 GB, free: 484 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/1.055, allocations: 0.9076 MB / 1.151 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.055, allocations: 4 kB / 1.151 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/1.055, allocations: 35.91 kB / 1.151 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-06/1.055, allocations: 8 kB / 1.151 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/1.055, allocations: 4 kB / 1.151 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.433e-06/1.055, allocations: 7.953 kB / 1.151 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/1.055, allocations: 7.938 kB / 1.151 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005791/1.056, allocations: 0.5702 MB / 1.152 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/1.056, allocations: 116.8 kB / 1.152 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.432e-05/1.056, allocations: 7.953 kB / 1.152 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/1.056, allocations: 11.98 kB / 1.152 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/1.056, allocations: 15.98 kB / 1.152 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/1.056, allocations: 10 kB / 1.152 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 9.709e-05/1.056, allocations: 127.9 kB / 1.152 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.4e-07/1.056, allocations: 4 kB / 1.152 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005561/1.057, allocations: 71.95 kB / 1.152 GB, free: 14.32 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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.0002076/1.057, allocations: 123.1 kB / 1.152 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000449/1.057, allocations: 280.4 kB / 1.152 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.057, allocations: 0 / 1.152 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.814e-05/1.058, allocations: 73.59 kB / 1.152 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/1.058, allocations: 35.38 kB / 1.153 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006852/1.059, allocations: 352.8 kB / 1.153 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/1.059, allocations: 0.7568 MB / 1.154 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002278/1.059, allocations: 80.03 kB / 1.154 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.91e-05/1.059, allocations: 15.44 kB / 1.154 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of SimCode: time 3.41e-07/1.059, allocations: 4 kB / 1.154 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of Templates: time 0.004574/1.064, allocations: 1.723 MB / 1.155 GB, free: 10.86 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)