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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00234/0.00234, allocations: 197.3 kB / 16.64 MB, free: 6.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.66/1.66, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.834/1.834, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 68.67 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2502, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.005644/0.2558, allocations: 3.351 MB / 0.7874 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003678/0.2596, allocations: 2.191 MB / 0.7895 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002107/0.2598, allocations: 4 kB / 0.7895 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009249/0.2607, allocations: 294.7 kB / 0.7898 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005415/0.2613, allocations: 230.9 kB / 0.79 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00076/0.262, allocations: 302.3 kB / 0.7903 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004216/0.2625, allocations: 390.7 kB / 0.7907 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003628/0.2628, allocations: 205.4 kB / 0.7909 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.263, allocations: 155.4 kB / 0.7911 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002979/0.2634, allocations: 171.3 kB / 0.7912 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.2634, allocations: 28 kB / 0.7912 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005911/0.264, allocations: 427.1 kB / 0.7916 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.2641, allocations: 91.72 kB / 0.7917 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.2642, allocations: 139.3 kB / 0.7919 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005803/0.2648, allocations: 0.5103 MB / 0.7924 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2648, allocations: 0 / 0.7924 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2649, allocations: 0 / 0.7924 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.2649, allocations: 0 / 0.7924 GB, free: 4.254 MB / 0.6075 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.0009788/0.2658, allocations: 0.608 MB / 0.793 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.2659, allocations: 8.031 kB / 0.793 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008227/0.2667, allocations: 120.4 kB / 0.7931 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000349/0.2671, allocations: 283.7 kB / 0.7934 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.2671, allocations: 16.8 kB / 0.7934 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.124e-05/0.2672, allocations: 24.38 kB / 0.7934 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006373/0.2678, allocations: 411.9 kB / 0.7938 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.2678, allocations: 4 kB / 0.7938 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.2679, allocations: 7.984 kB / 0.7938 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.103e-05/0.2679, allocations: 36.55 kB / 0.7938 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006206/0.2685, allocations: 349.9 kB / 0.7942 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002385/0.2709, allocations: 2.038 MB / 0.7962 GB, free: 64 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007747/0.2717, allocations: 363.4 kB / 0.7965 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003883/0.2721, allocations: 197.5 kB / 0.7967 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.2722, allocations: 85.11 kB / 0.7968 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.2723, allocations: 34.55 kB / 0.7968 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.2724, allocations: 4 kB / 0.7968 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=34): time 0.004812/0.2772, allocations: 1.574 MB / 0.7983 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.2772, allocations: 89.08 kB / 0.7984 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.2775, allocations: 236.9 kB / 0.7987 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.2775, allocations: 29.7 kB / 0.7987 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.2776, allocations: 187.9 kB / 0.7989 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.2777, allocations: 118.3 kB / 0.799 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.2779, allocations: 82.03 kB / 0.7991 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.278, allocations: 334.8 kB / 0.7994 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003922/0.2784, allocations: 198.5 kB / 0.7996 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000463/0.2789, allocations: 305 kB / 0.7999 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008391/0.2797, allocations: 0.513 MB / 0.8004 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.2798, allocations: 0 / 0.8004 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00124/0.281, allocations: 0.6562 MB / 0.801 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.281, allocations: 4 kB / 0.801 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.281, allocations: 4 kB / 0.801 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005225/0.2816, allocations: 151.5 kB / 0.8012 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004002/0.282, allocations: 91.88 kB / 0.8012 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003045/0.285, allocations: 4.17 MB / 0.8053 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003206/0.2854, allocations: 39.86 kB / 0.8053 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/0.2854, allocations: 16 kB / 0.8054 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005238/0.286, allocations: 321 kB / 0.8057 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004334/0.2864, allocations: 293.1 kB / 0.8059 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007957/0.2872, allocations: 0.5114 MB / 0.8064 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.587e-06/0.2872, allocations: 4 kB / 0.8065 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001198/0.2884, allocations: 0.6603 MB / 0.8071 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.2884, allocations: 4 kB / 0.8071 GB, free: 4.148 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2885, allocations: 4 kB / 0.8071 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003883/0.2888, allocations: 143.5 kB / 0.8072 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003723/0.2892, allocations: 95.81 kB / 0.8073 GB, free: 3.898 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002881/0.2921, allocations: 4.163 MB / 0.8114 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.2925, allocations: 35.95 kB / 0.8114 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/0.2925, allocations: 16 kB / 0.8114 GB, free: 15.35 MB / 0.6387 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.0002086/0.2927, allocations: 212 kB / 0.8116 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.071e-05/0.2928, allocations: 35.67 kB / 0.8117 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.2941, allocations: 0.609 MB / 0.8123 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.2941, allocations: 4 kB / 0.8123 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.2941, allocations: 4 kB / 0.8123 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2941, allocations: 0 / 0.8123 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002237/0.2963, allocations: 1.319 MB / 0.8136 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.2964, allocations: 4.031 kB / 0.8136 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.2966, allocations: 55.91 kB / 0.8136 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004257/0.297, allocations: 151.3 kB / 0.8138 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.2971, allocations: 11.94 kB / 0.8138 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003259/0.3003, allocations: 4.19 MB / 0.8179 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.3004, allocations: 4 kB / 0.8179 GB, free: 8.281 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.3019, allocations: 0.77 MB / 0.8186 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002685/0.3022, allocations: 136.7 kB / 0.8188 GB, free: 7.305 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.66e-05/0.3023, allocations: 11.98 kB / 0.8188 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003449/0.3026, allocations: 27.97 kB / 0.8188 GB, free: 7.266 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.3028, allocations: 39.91 kB / 0.8188 GB, free: 7.227 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.3028, allocations: 11.94 kB / 0.8189 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002308/0.3031, allocations: 176.5 kB / 0.819 GB, free: 7.047 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3031, allocations: 0 / 0.819 GB, free: 7.047 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001179/0.3043, allocations: 164 kB / 0.8192 GB, free: 6.887 MB / 0.6387 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.0003703/0.3047, allocations: 143 kB / 0.8193 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002576/0.3072, allocations: 1.23 MB / 0.8205 GB, free: 5.453 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.3073, allocations: 8.062 kB / 0.8205 GB, free: 5.445 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008248/0.3081, allocations: 486.2 kB / 0.821 GB, free: 4.945 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007446/0.3089, allocations: 77.97 kB / 0.8211 GB, free: 4.875 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.3103, allocations: 0.7416 MB / 0.8218 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.3108, allocations: 0.8123 MB / 0.8226 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003398/0.3112, allocations: 110.9 kB / 0.8227 GB, free: 3.141 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.764e-05/0.3113, allocations: 23.44 kB / 0.8227 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of SimCode: time 9.92e-07/0.3113, allocations: 0 / 0.8227 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of Templates: time 0.01143/0.3227, allocations: 6.311 MB / 0.8289 GB, free: 12.84 MB / 0.6544 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)