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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.727/1.727, allocations: 293 MB / 309 MB, free: 4.801 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.001115/0.001114, allocations: 176.1 kB / 378.7 MB, free: 1.012 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.857/1.857, allocations: 205.4 MB / 0.6383 GB, free: 9.105 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.0007857/0.0007858, allocations: 90.05 kB / 0.7527 GB, free: 62.37 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003821, allocations: 12 kB / 0.8768 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2697, allocations: 116.4 MB / 0.9905 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7004/0.9702, allocations: 172.1 MB / 1.158 GB, free: 8.824 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/0.9706, allocations: 98.23 kB / 1.159 GB, free: 8.746 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.0493/1.02, allocations: 20.49 MB / 1.179 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.814e-06/1.02, allocations: 4 kB / 1.179 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.461e-05/1.02, allocations: 12 kB / 1.179 GB, free: 4.859 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.001109/1.021, allocations: 0.5862 MB / 1.179 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/1.021, allocations: 12.03 kB / 1.179 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/1.022, allocations: 125.4 kB / 1.179 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004401/1.023, allocations: 271.8 kB / 1.18 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.93e-05/1.023, allocations: 20.73 kB / 1.18 GB, free: 3.766 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.687e-05/1.023, allocations: 28.31 kB / 1.18 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006977/1.023, allocations: 408.2 kB / 1.18 GB, free: 3.309 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/1.023, allocations: 4.125 kB / 1.18 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/1.024, allocations: 19.92 kB / 1.18 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.892e-05/1.024, allocations: 24.55 kB / 1.18 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000645/1.024, allocations: 361.9 kB / 1.18 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002813/1.027, allocations: 2.056 MB / 1.182 GB, free: 0.6641 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008344/1.028, allocations: 356.5 kB / 1.183 GB, free: 308 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004228/1.028, allocations: 198.3 kB / 1.183 GB, free: 104 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/1.029, allocations: 93.14 kB / 1.183 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/1.029, allocations: 38.5 kB / 1.183 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 2.104e-06/1.029, allocations: 0 / 1.183 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of matching and sorting (n=34): time 0.005083/1.034, allocations: 1.759 MB / 1.185 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/1.034, allocations: 81.11 kB / 1.185 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/1.034, allocations: 240.8 kB / 1.185 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/1.034, allocations: 29.7 kB / 1.185 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/1.034, allocations: 184 kB / 1.185 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/1.034, allocations: 122.3 kB / 1.185 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.017e-05/1.034, allocations: 4 kB / 1.185 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001407/1.034, allocations: 342.8 kB / 1.186 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003965/1.035, allocations: 200.7 kB / 1.186 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000447/1.035, allocations: 314.2 kB / 1.186 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000855/1.036, allocations: 0.5175 MB / 1.187 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.036, allocations: 4 kB / 1.187 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001312/1.038, allocations: 0.6714 MB / 1.187 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001408/1.038, allocations: 184.3 kB / 1.188 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.038, allocations: 4 kB / 1.188 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005668/1.038, allocations: 144.6 kB / 1.188 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/1.039, allocations: 99.86 kB / 1.188 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003427/1.042, allocations: 3.941 MB / 1.192 GB, free: 6.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000382/1.043, allocations: 44.02 kB / 1.192 GB, free: 6.547 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-05/1.043, allocations: 16 kB / 1.192 GB, free: 6.531 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.176e-06/1.043, allocations: 4 kB / 1.192 GB, free: 6.527 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001277/1.044, allocations: 0.6297 MB / 1.192 GB, free: 5.887 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/1.044, allocations: 7.938 kB / 1.192 GB, free: 5.879 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004031/1.044, allocations: 137.6 kB / 1.192 GB, free: 5.734 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003866/1.045, allocations: 100 kB / 1.193 GB, free: 5.637 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006977/1.045, allocations: 1.12 MB / 1.194 GB, free: 4.465 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003262/1.046, allocations: 31.97 kB / 1.194 GB, free: 4.434 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/1.046, allocations: 23.97 kB / 1.194 GB, free: 4.41 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 () * Number of clocked 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.0003167/1.046, allocations: 249 kB / 1.194 GB, free: 4.156 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.315e-05/1.046, allocations: 31.75 kB / 1.194 GB, free: 4.125 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/1.048, allocations: 0.6175 MB / 1.195 GB, free: 3.496 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/1.048, allocations: 4 kB / 1.195 GB, free: 3.492 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/1.048, allocations: 4 kB / 1.195 GB, free: 3.488 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/1.048, allocations: 3.984 kB / 1.195 GB, free: 3.484 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002301/1.05, allocations: 1.344 MB / 1.196 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/1.05, allocations: 4 kB / 1.196 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/1.05, allocations: 69.52 kB / 1.196 GB, free: 1.969 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004566/1.051, allocations: 159.2 kB / 1.196 GB, free: 1.801 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/1.051, allocations: 8 kB / 1.196 GB, free: 1.793 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002926/1.054, allocations: 3.96 MB / 1.2 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.054, allocations: 5.406 kB / 1.2 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/1.055, allocations: 0.7856 MB / 1.201 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/1.055, allocations: 144.7 kB / 1.201 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.242e-05/1.055, allocations: 11.94 kB / 1.201 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003184/1.056, allocations: 44.89 kB / 1.201 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/1.056, allocations: 31.91 kB / 1.201 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/1.056, allocations: 12 kB / 1.201 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002037/1.056, allocations: 172.5 kB / 1.201 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.5e-07/1.056, allocations: 0 / 1.201 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0008679/1.057, allocations: 179.9 kB / 1.201 GB, free: 12.07 MB / 0.7761 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 () * Number of clocked 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.00029/1.057, allocations: 153.8 kB / 1.201 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002043/1.059, allocations: 1.185 MB / 1.203 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.059, allocations: 0 / 1.203 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000722/1.06, allocations: 0.4898 MB / 1.203 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006145/1.06, allocations: 63.36 kB / 1.203 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/1.062, allocations: 0.8521 MB / 1.204 GB, free: 9.195 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004915/1.062, allocations: 0.8045 MB / 1.205 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000377/1.063, allocations: 115.7 kB / 1.205 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.666e-05/1.063, allocations: 31.38 kB / 1.205 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of SimCode: time 1.613e-06/1.063, allocations: 0 / 1.205 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of Templates: time 0.01129/1.074, allocations: 5.52 MB / 1.21 GB, free: 2.762 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)