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.001514/0.001514, allocations: 113.3 kB / 16.37 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 192 kB / 17.31 MB, free: 5.617 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.388/1.388, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.727/1.727, allocations: 292.3 MB / 0.5496 GB, free: 17.53 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.001442/0.001443, allocations: 67.91 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.231, allocations: 114.5 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.4344/0.6655, allocations: 3.341 MB / 0.7881 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003178/0.6687, allocations: 2.193 MB / 0.7902 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.6689, allocations: 8.812 kB / 0.7902 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008682/0.6697, allocations: 283.2 kB / 0.7905 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004198/0.6702, allocations: 238.5 kB / 0.7907 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005708/0.6707, allocations: 288.3 kB / 0.791 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003572/0.6711, allocations: 395.9 kB / 0.7914 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003235/0.6714, allocations: 208.7 kB / 0.7916 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001623/0.6716, allocations: 155.8 kB / 0.7917 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/0.6719, allocations: 174.4 kB / 0.7919 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.6719, allocations: 23.62 kB / 0.7919 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000491/0.6724, allocations: 420.6 kB / 0.7923 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.355e-05/0.6725, allocations: 101.4 kB / 0.7924 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.6727, allocations: 138.8 kB / 0.7925 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004952/0.6732, allocations: 0.5031 MB / 0.793 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6732, allocations: 3.406 kB / 0.793 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6732, allocations: 0 / 0.793 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.6732, allocations: 0.5 kB / 0.793 GB, free: 46.15 MB / 0.6544 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.0008582/0.6741, allocations: 0.6196 MB / 0.7936 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.6741, allocations: 11.47 kB / 0.7936 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000784/0.6749, allocations: 120.1 kB / 0.7938 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.6752, allocations: 281 kB / 0.794 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.6752, allocations: 19.66 kB / 0.794 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.6753, allocations: 18.09 kB / 0.7941 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005537/0.6758, allocations: 420.2 kB / 0.7945 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.6758, allocations: 1.844 kB / 0.7945 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.6759, allocations: 11.03 kB / 0.7945 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.444e-05/0.6759, allocations: 34.52 kB / 0.7945 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005263/0.6765, allocations: 347.6 kB / 0.7948 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.6782, allocations: 2.045 MB / 0.7968 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006867/0.6789, allocations: 353.4 kB / 0.7972 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003594/0.6793, allocations: 193.3 kB / 0.7974 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-05/0.6794, allocations: 87.86 kB / 0.7974 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.6794, allocations: 42.72 kB / 0.7975 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 1.302e-06/0.6794, allocations: 0 / 0.7975 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of matching and sorting (n=34): time 0.004644/0.6841, allocations: 1.571 MB / 0.799 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.6841, allocations: 84 kB / 0.7991 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.6843, allocations: 233.8 kB / 0.7993 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.6844, allocations: 31.39 kB / 0.7993 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.082e-05/0.6844, allocations: 183.2 kB / 0.7995 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.039e-05/0.6845, allocations: 121.4 kB / 0.7996 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.6847, allocations: 76.2 kB / 0.7997 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.45e-05/0.6848, allocations: 336.2 kB / 0.8 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003713/0.6851, allocations: 200.7 kB / 0.8002 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004023/0.6856, allocations: 303 kB / 0.8005 GB, free: 42.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007519/0.6863, allocations: 0.5097 MB / 0.801 GB, free: 42.19 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.6863, allocations: 3.5 kB / 0.801 GB, free: 42.19 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001209/0.6875, allocations: 0.6593 MB / 0.8017 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.6876, allocations: 4.734 kB / 0.8017 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.6876, allocations: 3.469 kB / 0.8017 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004978/0.6881, allocations: 151.8 kB / 0.8018 GB, free: 41.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003961/0.6885, allocations: 93.16 kB / 0.8019 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.6908, allocations: 4.17 MB / 0.806 GB, free: 37.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.6912, allocations: 33.94 kB / 0.806 GB, free: 37.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.6912, allocations: 18.41 kB / 0.806 GB, free: 37.88 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005019/0.6917, allocations: 320.5 kB / 0.8063 GB, free: 37.71 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004365/0.6922, allocations: 306.8 kB / 0.8066 GB, free: 37.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008686/0.6931, allocations: 0.5083 MB / 0.8071 GB, free: 37.24 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.805e-06/0.6931, allocations: 1.375 kB / 0.8071 GB, free: 37.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001436/0.6945, allocations: 0.6561 MB / 0.8078 GB, free: 36.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.6945, allocations: 6.5 kB / 0.8078 GB, free: 36.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.6946, allocations: 3.047 kB / 0.8078 GB, free: 36.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004409/0.695, allocations: 153.3 kB / 0.8079 GB, free: 36.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004069/0.6954, allocations: 93.52 kB / 0.808 GB, free: 36.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002545/0.698, allocations: 4.175 MB / 0.8121 GB, free: 32.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003332/0.6983, allocations: 32.53 kB / 0.8121 GB, free: 32.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/0.6984, allocations: 17.02 kB / 0.8121 GB, free: 32.92 MB / 0.6544 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.0001539/0.6985, allocations: 210.2 kB / 0.8123 GB, free: 32.72 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.718e-05/0.6986, allocations: 29.69 kB / 0.8124 GB, free: 32.71 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.7, allocations: 0.6076 MB / 0.8129 GB, free: 32.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.7, allocations: 3.75 kB / 0.813 GB, free: 32.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.7, allocations: 2.219 kB / 0.813 GB, free: 32.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.7001, allocations: 1.312 kB / 0.813 GB, free: 32.45 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002455/0.7025, allocations: 1.322 MB / 0.8142 GB, free: 31.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.7025, allocations: 5.062 kB / 0.8143 GB, free: 31.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/0.7028, allocations: 60.23 kB / 0.8143 GB, free: 31.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004527/0.7033, allocations: 150.2 kB / 0.8145 GB, free: 31.59 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.7033, allocations: 12.72 kB / 0.8145 GB, free: 31.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002684/0.706, allocations: 4.184 MB / 0.8185 GB, free: 27.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.706, allocations: 2.906 kB / 0.8186 GB, free: 27.6 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.7074, allocations: 0.7757 MB / 0.8193 GB, free: 27.11 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.7076, allocations: 138.2 kB / 0.8194 GB, free: 26.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.478e-05/0.7076, allocations: 13.42 kB / 0.8195 GB, free: 26.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002994/0.7079, allocations: 33.44 kB / 0.8195 GB, free: 26.97 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.708, allocations: 31.23 kB / 0.8195 GB, free: 26.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/0.7081, allocations: 14.41 kB / 0.8195 GB, free: 26.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002038/0.7083, allocations: 172 kB / 0.8197 GB, free: 26.86 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7083, allocations: 3.938 kB / 0.8197 GB, free: 26.85 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009444/0.7092, allocations: 168.5 kB / 0.8199 GB, free: 26.82 MB / 0.6544 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.0002612/0.7095, allocations: 130.3 kB / 0.82 GB, free: 26.72 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002356/0.7119, allocations: 1.236 MB / 0.8212 GB, free: 26.03 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.7119, allocations: 1.344 kB / 0.8212 GB, free: 26.03 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007111/0.7126, allocations: 476 kB / 0.8216 GB, free: 25.74 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005652/0.7132, allocations: 68.33 kB / 0.8217 GB, free: 25.72 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.7144, allocations: 0.7981 MB / 0.8225 GB, free: 25.22 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.7147, allocations: 0.8088 MB / 0.8233 GB, free: 24.51 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.843e-05/0.7148, allocations: 27.34 kB / 0.8233 GB, free: 24.5 MB / 0.6544 GB Notification: Performance of SimCode: time 5.41e-07/0.7148, allocations: 0 / 0.8233 GB, free: 24.5 MB / 0.6544 GB Notification: Performance of Templates: time 0.01489/0.7297, allocations: 9.079 MB / 0.8322 GB, free: 23.93 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)