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.001388/0.001389, allocations: 108.4 kB / 16.38 MB, free: 6.484 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.001299/0.0013, allocations: 190.7 kB / 17.31 MB, free: 5.82 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.793/1.793, allocations: 205.1 MB / 223.2 MB, free: 12.27 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 2.032/2.032, allocations: 292.3 MB / 0.5496 GB, free: 17.6 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.001534/0.001535, allocations: 79.16 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.322, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.6224/0.9444, allocations: 3.338 MB / 0.7881 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004132/0.9486, allocations: 2.195 MB / 0.7902 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002324/0.9489, allocations: 9.125 kB / 0.7902 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001188/0.9501, allocations: 283.5 kB / 0.7905 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00073/0.9508, allocations: 234.1 kB / 0.7907 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.952, allocations: 288.2 kB / 0.791 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004848/0.9525, allocations: 391.7 kB / 0.7914 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004522/0.9529, allocations: 209 kB / 0.7916 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000215/0.9531, allocations: 156.4 kB / 0.7917 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003409/0.9535, allocations: 180 kB / 0.7919 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.224e-05/0.9535, allocations: 23.28 kB / 0.7919 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006498/0.9542, allocations: 425.1 kB / 0.7923 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.9543, allocations: 94.78 kB / 0.7924 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.9545, allocations: 144.8 kB / 0.7925 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005644/0.955, allocations: 0.5035 MB / 0.793 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.9551, allocations: 0.5312 kB / 0.793 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9551, allocations: 3.344 kB / 0.793 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.9551, allocations: 0 / 0.793 GB, free: 46.1 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.001157/0.9562, allocations: 0.6119 MB / 0.7936 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.9563, allocations: 10.38 kB / 0.7936 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008872/0.9572, allocations: 118.1 kB / 0.7938 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.9576, allocations: 285.8 kB / 0.794 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.9576, allocations: 17.72 kB / 0.794 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.337e-05/0.9577, allocations: 23.17 kB / 0.7941 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000627/0.9583, allocations: 415.5 kB / 0.7945 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.9583, allocations: 1.406 kB / 0.7945 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.513e-05/0.9584, allocations: 15.58 kB / 0.7945 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.518e-05/0.9584, allocations: 34.03 kB / 0.7945 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005732/0.959, allocations: 344.6 kB / 0.7948 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002433/0.9615, allocations: 2.044 MB / 0.7968 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007894/0.9623, allocations: 360.9 kB / 0.7972 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000371/0.9626, allocations: 186.5 kB / 0.7974 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.614e-05/0.9628, allocations: 92.84 kB / 0.7974 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.9628, allocations: 40.69 kB / 0.7975 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 1.643e-06/0.9628, allocations: 3.5 kB / 0.7975 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=34): time 0.004965/0.9678, allocations: 1.566 MB / 0.799 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.9678, allocations: 79.89 kB / 0.7991 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.968, allocations: 237.3 kB / 0.7993 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.9681, allocations: 33.39 kB / 0.7993 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.9682, allocations: 186.7 kB / 0.7995 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.273e-05/0.9683, allocations: 115.9 kB / 0.7996 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.9684, allocations: 78.92 kB / 0.7997 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.761e-05/0.9685, allocations: 338.3 kB / 0.8 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004015/0.9689, allocations: 201.9 kB / 0.8002 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000441/0.9693, allocations: 305.7 kB / 0.8005 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008459/0.9702, allocations: 0.5082 MB / 0.801 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.9702, allocations: 0 / 0.801 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001302/0.9715, allocations: 0.662 MB / 0.8017 GB, free: 41.81 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.9716, allocations: 5.625 kB / 0.8017 GB, free: 41.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.9716, allocations: 9.844 kB / 0.8017 GB, free: 41.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005351/0.9721, allocations: 146.6 kB / 0.8018 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/0.9725, allocations: 89.81 kB / 0.8019 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002567/0.9751, allocations: 4.173 MB / 0.806 GB, free: 37.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.9755, allocations: 30.52 kB / 0.806 GB, free: 37.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.9755, allocations: 19.48 kB / 0.806 GB, free: 37.76 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005464/0.9761, allocations: 322.3 kB / 0.8063 GB, free: 37.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000524/0.9766, allocations: 305.3 kB / 0.8066 GB, free: 37.4 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009069/0.9775, allocations: 0.5093 MB / 0.8071 GB, free: 37.12 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.545e-06/0.9775, allocations: 2.094 kB / 0.8071 GB, free: 37.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001397/0.9789, allocations: 0.6555 MB / 0.8078 GB, free: 36.86 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.979, allocations: 7.656 kB / 0.8078 GB, free: 36.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.979, allocations: 3.469 kB / 0.8078 GB, free: 36.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004359/0.9794, allocations: 150.8 kB / 0.8079 GB, free: 36.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004114/0.9798, allocations: 93.31 kB / 0.808 GB, free: 36.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002466/0.9823, allocations: 4.171 MB / 0.8121 GB, free: 32.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003442/0.9827, allocations: 31.44 kB / 0.8121 GB, free: 32.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-05/0.9827, allocations: 21.16 kB / 0.8121 GB, free: 32.8 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.0001585/0.9829, allocations: 211.8 kB / 0.8123 GB, free: 32.61 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.612e-05/0.983, allocations: 29.05 kB / 0.8124 GB, free: 32.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/0.9844, allocations: 0.6023 MB / 0.8129 GB, free: 32.33 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.9845, allocations: 5.109 kB / 0.813 GB, free: 32.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.9845, allocations: 1.531 kB / 0.813 GB, free: 32.33 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.9846, allocations: 136.9 kB / 0.8131 GB, free: 32.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/0.9847, allocations: 6.766 kB / 0.8131 GB, free: 32.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/0.985, allocations: 33.86 kB / 0.8131 GB, free: 32.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.9851, allocations: 30.98 kB / 0.8132 GB, free: 32.19 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001667/0.9868, allocations: 0.7863 MB / 0.8139 GB, free: 31.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001578/0.9884, allocations: 0.9593 MB / 0.8149 GB, free: 31.28 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004493/0.9888, allocations: 223 kB / 0.8151 GB, free: 31.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001751/0.989, allocations: 167.4 kB / 0.8152 GB, free: 31.1 MB / 0.6544 GB Notification: Performance of Backend: time 4.01e-07/0.989, allocations: 2.719 kB / 0.8152 GB, free: 31.1 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00304/0.9921, allocations: 1.358 MB / 0.8166 GB, free: 30.36 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001321/0.9934, allocations: 1.101 MB / 0.8176 GB, free: 29.54 MB / 0.6544 GB Notification: Performance of Templates: time 0.01935/1.013, allocations: 9.03 MB / 0.8265 GB, free: 29 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)