Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.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.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.487/1.487, allocations: 252 MB / 267.6 MB, free: 10.96 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.001021/0.001022, allocations: 175.8 kB / 327.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.127/2.127, allocations: 205.4 MB / 0.5783 GB, free: 20.23 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.0008988/0.0008985, allocations: 103.6 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003504, allocations: 8.688 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2209, allocations: 106.3 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.003112/0.2241, allocations: 2.915 MB / 0.9037 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002457/0.2266, allocations: 2.048 MB / 0.9057 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.2267, allocations: 4 kB / 0.9057 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.2269, allocations: 47.58 kB / 0.9057 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004471/0.2274, allocations: 167.2 kB / 0.9059 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005561/0.2279, allocations: 211.5 kB / 0.9061 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003137/0.2283, allocations: 442.6 kB / 0.9065 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004111/0.2287, allocations: 329.4 kB / 0.9068 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.2288, allocations: 123.5 kB / 0.9069 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002617/0.2291, allocations: 179.3 kB / 0.9071 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.991e-05/0.2292, allocations: 8 kB / 0.9071 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003952/0.2296, allocations: 267.6 kB / 0.9074 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.303e-05/0.2296, allocations: 83.72 kB / 0.9075 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.043e-05/0.2297, allocations: 69.58 kB / 0.9075 GB, free: 56.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.23, allocations: 379.4 kB / 0.9079 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2301, allocations: 0 / 0.9079 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2301, allocations: 0 / 0.9079 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.2301, allocations: 0 / 0.9079 GB, free: 56.59 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0007654/0.2308, allocations: 0.565 MB / 0.9084 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.2309, allocations: 12.03 kB / 0.9084 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000743/0.2316, allocations: 127.4 kB / 0.9086 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.2319, allocations: 270.5 kB / 0.9088 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.232, allocations: 16.42 kB / 0.9088 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.232, allocations: 20 kB / 0.9089 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005644/0.2326, allocations: 415.5 kB / 0.9093 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.2326, allocations: 7.938 kB / 0.9093 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.2326, allocations: 11.98 kB / 0.9093 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.905e-05/0.2327, allocations: 36.53 kB / 0.9093 GB, free: 55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005361/0.2332, allocations: 353.9 kB / 0.9097 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.2351, allocations: 2.058 MB / 0.9117 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006718/0.2358, allocations: 355.9 kB / 0.912 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003393/0.2362, allocations: 207.1 kB / 0.9122 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.756e-05/0.2363, allocations: 89.27 kB / 0.9123 GB, free: 51.74 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.2363, allocations: 38.75 kB / 0.9123 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 2.073e-06/0.2363, allocations: 0 / 0.9123 GB, free: 51.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34): time 0.004567/0.2409, allocations: 1.748 MB / 0.914 GB, free: 49.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.2409, allocations: 93.03 kB / 0.9141 GB, free: 49.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.2411, allocations: 233 kB / 0.9143 GB, free: 49.56 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.2412, allocations: 33.7 kB / 0.9144 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.198e-05/0.2412, allocations: 180 kB / 0.9145 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.871e-05/0.2413, allocations: 114.3 kB / 0.9146 GB, free: 49.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-05/0.2413, allocations: 12 kB / 0.9147 GB, free: 49.22 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.845e-05/0.2414, allocations: 338.8 kB / 0.915 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/0.2417, allocations: 200.7 kB / 0.9152 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.2421, allocations: 313.1 kB / 0.9155 GB, free: 48.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003646/0.2425, allocations: 247.7 kB / 0.9157 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2425, allocations: 0 / 0.9157 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001042/0.2435, allocations: 0.6798 MB / 0.9164 GB, free: 47.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.13e-05/0.2436, allocations: 168.2 kB / 0.9165 GB, free: 47.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.2436, allocations: 4 kB / 0.9165 GB, free: 47.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004495/0.2441, allocations: 151.3 kB / 0.9167 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/0.2445, allocations: 99.81 kB / 0.9168 GB, free: 46.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.2464, allocations: 3.946 MB / 0.9206 GB, free: 42.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.2468, allocations: 39.88 kB / 0.9207 GB, free: 42.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.2468, allocations: 16 kB / 0.9207 GB, free: 42.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.913e-06/0.2468, allocations: 4 kB / 0.9207 GB, free: 42.6 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00101/0.2478, allocations: 0.62 MB / 0.9213 GB, free: 41.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2479, allocations: 4 kB / 0.9213 GB, free: 41.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003168/0.2482, allocations: 147.4 kB / 0.9214 GB, free: 41.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/0.2485, allocations: 95.88 kB / 0.9215 GB, free: 41.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003978/0.249, allocations: 1.113 MB / 0.9226 GB, free: 40.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002832/0.2492, allocations: 31.97 kB / 0.9226 GB, free: 40.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.2493, allocations: 19.98 kB / 0.9227 GB, free: 40.5 MB / 0.6042 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.0001915/0.2495, allocations: 261.1 kB / 0.9229 GB, free: 40.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.858e-05/0.2496, allocations: 35.56 kB / 0.9229 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.2506, allocations: 0.621 MB / 0.9236 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2506, allocations: 4 kB / 0.9236 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2506, allocations: 4 kB / 0.9236 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.2506, allocations: 7.938 kB / 0.9236 GB, free: 39.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/0.2524, allocations: 1.333 MB / 0.9249 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2524, allocations: 256 / 0.9249 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.2526, allocations: 67.89 kB / 0.9249 GB, free: 38.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004477/0.2531, allocations: 151.3 kB / 0.9251 GB, free: 37.87 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.2531, allocations: 19.95 kB / 0.9251 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/0.2549, allocations: 3.966 MB / 0.929 GB, free: 33.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.255, allocations: 4 kB / 0.929 GB, free: 33.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009578/0.2559, allocations: 0.7819 MB / 0.9297 GB, free: 32.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.2561, allocations: 136.7 kB / 0.9299 GB, free: 32.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.2561, allocations: 20 kB / 0.9299 GB, free: 32.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002902/0.2564, allocations: 35.95 kB / 0.9299 GB, free: 32.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.177e-05/0.2565, allocations: 31.86 kB / 0.93 GB, free: 32.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.2565, allocations: 16 kB / 0.93 GB, free: 32.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001218/0.2566, allocations: 168.5 kB / 0.9301 GB, free: 32.31 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2566, allocations: 0 / 0.9301 GB, free: 32.31 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006934/0.2573, allocations: 164 kB / 0.9303 GB, free: 32.15 MB / 0.6042 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.000194/0.2575, allocations: 139.1 kB / 0.9304 GB, free: 32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001673/0.2592, allocations: 1.212 MB / 0.9316 GB, free: 30.72 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2592, allocations: 0 / 0.9316 GB, free: 30.72 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005976/0.2598, allocations: 492.3 kB / 0.9321 GB, free: 30.21 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005176/0.2604, allocations: 59.77 kB / 0.9321 GB, free: 30.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.2614, allocations: 0.9099 MB / 0.933 GB, free: 29.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.2616, allocations: 0.8006 MB / 0.9338 GB, free: 28.37 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.567e-05/0.2617, allocations: 27.44 kB / 0.9338 GB, free: 28.34 MB / 0.6042 GB Notification: Performance of SimCode: time 3.61e-07/0.2617, allocations: 4 kB / 0.9338 GB, free: 28.34 MB / 0.6042 GB Notification: Performance of Templates: time 0.008731/0.2705, allocations: 8.962 MB / 0.9426 GB, free: 19.38 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)