Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.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.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.9/1.9, allocations: 289.7 MB / 302.2 MB, free: 2.141 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.0009865/0.0009864, allocations: 181.4 kB / 371.6 MB, free: 3.391 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.572/1.572, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0008912/0.0008912, allocations: 89.3 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.884e-05/3.886e-05, allocations: 0 / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.284, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9905/1.275, allocations: 171.9 MB / 1.148 GB, free: 21.25 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/1.275, allocations: 93.09 kB / 1.148 GB, free: 21.21 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:43:5-43:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.04753/1.322, allocations: 20.32 MB / 1.168 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.152e-06/1.323, allocations: 0 / 1.168 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.743e-05/1.323, allocations: 8 kB / 1.168 GB, free: 10.29 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.000868/1.323, allocations: 0.5712 MB / 1.168 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/1.323, allocations: 12.02 kB / 1.168 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009077/1.324, allocations: 126.8 kB / 1.168 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/1.325, allocations: 280.8 kB / 1.169 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/1.325, allocations: 16.36 kB / 1.169 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/1.325, allocations: 26.31 kB / 1.169 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005032/1.325, allocations: 389 kB / 1.169 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/1.325, allocations: 0 / 1.169 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.068e-05/1.325, allocations: 10.55 kB / 1.169 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.36e-05/1.325, allocations: 35.67 kB / 1.169 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000414/1.326, allocations: 319.5 kB / 1.169 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/1.328, allocations: 2.051 MB / 1.171 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00061/1.328, allocations: 329.5 kB / 1.172 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/1.329, allocations: 175.6 kB / 1.172 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.353e-05/1.329, allocations: 96.97 kB / 1.172 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/1.329, allocations: 34.75 kB / 1.172 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 1.263e-06/1.329, allocations: 0 / 1.172 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34): time 0.00395/1.333, allocations: 1.45 MB / 1.173 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/1.333, allocations: 89.08 kB / 1.173 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/1.333, allocations: 206.5 kB / 1.174 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/1.333, allocations: 32.64 kB / 1.174 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.845e-05/1.333, allocations: 178.8 kB / 1.174 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.179e-05/1.333, allocations: 124.2 kB / 1.174 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.702e-05/1.333, allocations: 3.75 kB / 1.174 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.527e-05/1.333, allocations: 343.9 kB / 1.174 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/1.334, allocations: 163.6 kB / 1.174 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/1.334, allocations: 274.7 kB / 1.175 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/1.334, allocations: 205.5 kB / 1.175 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/1.334, allocations: 4 kB / 1.175 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008487/1.335, allocations: 0.5926 MB / 1.175 GB, free: 3.035 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.000286/1.335, allocations: 1.229 MB / 1.177 GB, free: 1.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/1.335, allocations: 4 kB / 1.177 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004635/1.336, allocations: 143.4 kB / 1.177 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/1.336, allocations: 95.69 kB / 1.177 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002693/1.339, allocations: 3.944 MB / 1.181 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/1.339, allocations: 43.83 kB / 1.181 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/1.339, allocations: 12 kB / 1.181 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/1.339, allocations: 4 kB / 1.181 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009029/1.34, allocations: 0.5588 MB / 1.181 GB, free: 13.01 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.34, allocations: 4 kB / 1.181 GB, free: 13 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003622/1.34, allocations: 142.2 kB / 1.182 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/1.341, allocations: 103.1 kB / 1.182 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006944/1.341, allocations: 1.105 MB / 1.183 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/1.342, allocations: 43.23 kB / 1.183 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/1.342, allocations: 15.38 kB / 1.183 GB, free: 11.61 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (45): * Single equations (assignments): 41 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001238/1.342, allocations: 130.6 kB / 1.183 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.078e-05/1.342, allocations: 27.67 kB / 1.183 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009526/1.343, allocations: 0.5626 MB / 1.183 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/1.343, allocations: 4 kB / 1.183 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.343, allocations: 0 / 1.183 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/1.343, allocations: 7.938 kB / 1.183 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/1.345, allocations: 1.274 MB / 1.185 GB, free: 9.906 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/1.345, allocations: 0 / 1.185 GB, free: 9.906 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/1.345, allocations: 67.64 kB / 1.185 GB, free: 9.844 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004155/1.346, allocations: 155.6 kB / 1.185 GB, free: 9.707 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/1.346, allocations: 11.33 kB / 1.185 GB, free: 9.699 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002879/1.349, allocations: 3.948 MB / 1.189 GB, free: 5.66 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.349, allocations: 11.92 kB / 1.189 GB, free: 5.648 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/1.35, allocations: 0.8154 MB / 1.19 GB, free: 4.871 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/1.35, allocations: 142.3 kB / 1.19 GB, free: 4.727 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/1.35, allocations: 15.11 kB / 1.19 GB, free: 4.715 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002906/1.35, allocations: 39.3 kB / 1.19 GB, free: 4.684 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/1.351, allocations: 31.03 kB / 1.19 GB, free: 4.656 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/1.351, allocations: 19.36 kB / 1.19 GB, free: 4.641 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002186/1.351, allocations: 165.7 kB / 1.19 GB, free: 4.504 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.6e-07/1.351, allocations: 0 / 1.19 GB, free: 4.504 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0008347/1.352, allocations: 175.2 kB / 1.19 GB, free: 4.352 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003281/1.352, allocations: 154.6 kB / 1.19 GB, free: 4.195 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001669/1.354, allocations: 1.078 MB / 1.191 GB, free: 3.262 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.354, allocations: 0.5 kB / 1.191 GB, free: 3.262 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006038/1.354, allocations: 455.9 kB / 1.192 GB, free: 2.852 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/1.355, allocations: 60.47 kB / 1.192 GB, free: 2.809 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000925/1.356, allocations: 0.5532 MB / 1.192 GB, free: 2.293 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/1.356, allocations: 0.81 MB / 1.193 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003603/1.356, allocations: 125.5 kB / 1.193 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.039e-05/1.357, allocations: 23.44 kB / 1.193 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of SimCode: time 4.81e-07/1.357, allocations: 0 / 1.193 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of Templates: time 0.01091/1.367, allocations: 5.706 MB / 1.199 GB, free: 11.69 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)