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.362/1.362, allocations: 252 MB / 268 MB, free: 10.87 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.001165/0.001165, allocations: 180.9 kB / 327.6 MB, free: 2.113 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.4 MB / 0.5786 GB, free: 20.15 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.0008335/0.0008333, allocations: 90.34 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003209, allocations: 10.44 kB / 0.7976 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2226, allocations: 106.3 MB / 0.9015 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.003365/0.226, allocations: 3.031 MB / 0.9044 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002802/0.2288, allocations: 2.183 MB / 0.9065 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.2289, allocations: 3.938 kB / 0.9066 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.2291, allocations: 39.7 kB / 0.9066 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005273/0.2297, allocations: 227.1 kB / 0.9068 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006134/0.2303, allocations: 251.4 kB / 0.907 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004098/0.2307, allocations: 0.5336 MB / 0.9076 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004693/0.2312, allocations: 341.1 kB / 0.9079 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.2314, allocations: 119.5 kB / 0.908 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000273/0.2317, allocations: 183.2 kB / 0.9082 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.221e-05/0.2317, allocations: 12 kB / 0.9082 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006219/0.2323, allocations: 0.4951 MB / 0.9087 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.892e-05/0.2324, allocations: 83.78 kB / 0.9088 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.2325, allocations: 153 kB / 0.9089 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003629/0.2329, allocations: 387.3 kB / 0.9093 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2329, allocations: 0 / 0.9093 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2329, allocations: 0 / 0.9093 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.2329, allocations: 0 / 0.9093 GB, free: 55.44 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.0008044/0.2338, allocations: 0.5692 MB / 0.9098 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.2338, allocations: 11.97 kB / 0.9098 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007971/0.2346, allocations: 120.4 kB / 0.91 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.235, allocations: 275.7 kB / 0.9102 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.235, allocations: 16.81 kB / 0.9102 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.614e-05/0.2351, allocations: 24.38 kB / 0.9103 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006706/0.2357, allocations: 423.8 kB / 0.9107 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.2358, allocations: 0 / 0.9107 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.018e-05/0.2358, allocations: 12 kB / 0.9107 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.709e-05/0.2359, allocations: 36.47 kB / 0.9107 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006152/0.2365, allocations: 357.9 kB / 0.911 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002423/0.2389, allocations: 2.062 MB / 0.9131 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000776/0.2397, allocations: 358.6 kB / 0.9134 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003685/0.2401, allocations: 197.6 kB / 0.9136 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.2402, allocations: 89.09 kB / 0.9137 GB, free: 50.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.2403, allocations: 34.56 kB / 0.9137 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 1.814e-06/0.2403, allocations: 4 kB / 0.9137 GB, free: 50.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34): time 0.005001/0.2453, allocations: 1.754 MB / 0.9154 GB, free: 48.74 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.2453, allocations: 89.05 kB / 0.9155 GB, free: 48.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.2456, allocations: 232.9 kB / 0.9157 GB, free: 48.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.2456, allocations: 33.7 kB / 0.9158 GB, free: 48.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.625e-05/0.2457, allocations: 180 kB / 0.9159 GB, free: 48.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.517e-05/0.2458, allocations: 118.3 kB / 0.9161 GB, free: 48.06 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/0.2459, allocations: 4 kB / 0.9161 GB, free: 48.06 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.246, allocations: 338.8 kB / 0.9164 GB, free: 47.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/0.2463, allocations: 204.7 kB / 0.9166 GB, free: 47.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003665/0.2467, allocations: 313.1 kB / 0.9169 GB, free: 47.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007359/0.2474, allocations: 0.5308 MB / 0.9174 GB, free: 46.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2474, allocations: 0 / 0.9174 GB, free: 46.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001099/0.2485, allocations: 0.6758 MB / 0.9181 GB, free: 45.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-05/0.2486, allocations: 176.3 kB / 0.9182 GB, free: 45.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.2486, allocations: 4 kB / 0.9182 GB, free: 45.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004679/0.2491, allocations: 147.3 kB / 0.9184 GB, free: 45.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003976/0.2495, allocations: 103.8 kB / 0.9185 GB, free: 45.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002217/0.2518, allocations: 3.946 MB / 0.9223 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003326/0.2521, allocations: 48.05 kB / 0.9224 GB, free: 41.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.2522, allocations: 19.94 kB / 0.9224 GB, free: 41.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.094e-06/0.2522, allocations: 4 kB / 0.9224 GB, free: 41.09 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001055/0.2532, allocations: 0.6354 MB / 0.923 GB, free: 40.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2532, allocations: 4 kB / 0.923 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003606/0.2536, allocations: 147.3 kB / 0.9231 GB, free: 40.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/0.254, allocations: 95.97 kB / 0.9232 GB, free: 40.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004519/0.2544, allocations: 1.105 MB / 0.9243 GB, free: 39.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.2547, allocations: 44.09 kB / 0.9244 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.2548, allocations: 16 kB / 0.9244 GB, free: 38.97 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002102/0.255, allocations: 249 kB / 0.9246 GB, free: 38.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.445e-05/0.2551, allocations: 31.62 kB / 0.9246 GB, free: 38.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.2561, allocations: 0.6287 MB / 0.9253 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.2562, allocations: 4 kB / 0.9253 GB, free: 38.03 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2562, allocations: 4 kB / 0.9253 GB, free: 38.03 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2562, allocations: 0 / 0.9253 GB, free: 38.03 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.258, allocations: 1.345 MB / 0.9266 GB, free: 36.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.2581, allocations: 8 kB / 0.9266 GB, free: 36.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.2583, allocations: 63.89 kB / 0.9266 GB, free: 36.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003695/0.2587, allocations: 159.5 kB / 0.9268 GB, free: 36.33 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.2587, allocations: 8 kB / 0.9268 GB, free: 36.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/0.2606, allocations: 3.965 MB / 0.9307 GB, free: 32.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2606, allocations: 0 / 0.9307 GB, free: 32.04 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009976/0.2616, allocations: 0.8012 MB / 0.9315 GB, free: 31.19 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.2618, allocations: 144.6 kB / 0.9316 GB, free: 31.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.2618, allocations: 8 kB / 0.9316 GB, free: 31.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.2621, allocations: 35.97 kB / 0.9316 GB, free: 30.98 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.619e-05/0.2622, allocations: 35.95 kB / 0.9317 GB, free: 30.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.2622, allocations: 8 kB / 0.9317 GB, free: 30.94 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001273/0.2623, allocations: 176.4 kB / 0.9319 GB, free: 30.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2623, allocations: 0 / 0.9319 GB, free: 30.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006678/0.263, allocations: 160 kB / 0.932 GB, free: 30.61 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002066/0.2632, allocations: 142.9 kB / 0.9321 GB, free: 30.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001633/0.2649, allocations: 1.201 MB / 0.9333 GB, free: 29.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2649, allocations: 0.5625 kB / 0.9333 GB, free: 29.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006265/0.2655, allocations: 499.7 kB / 0.9338 GB, free: 28.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005715/0.2661, allocations: 56.41 kB / 0.9338 GB, free: 28.63 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.2671, allocations: 0.9443 MB / 0.9348 GB, free: 27.63 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.2674, allocations: 0.8084 MB / 0.9356 GB, free: 26.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.906e-05/0.2675, allocations: 27.44 kB / 0.9356 GB, free: 26.77 MB / 0.6042 GB Notification: Performance of SimCode: time 5.81e-07/0.2675, allocations: 0 / 0.9356 GB, free: 26.77 MB / 0.6042 GB Notification: Performance of Templates: time 0.009064/0.2766, allocations: 8.945 MB / 0.9443 GB, free: 17.83 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)