Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00167/0.00167, allocations: 109.8 kB / 16.42 MB, free: 6.516 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.001904/0.001904, allocations: 190.7 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002143/0.002143, allocations: 295.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9542/0.9542, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 95.86 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5499/0.5519, allocations: 86.98 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.005211/0.5572, allocations: 3.348 MB / 0.7703 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003478/0.5607, allocations: 2.159 MB / 0.7724 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.5609, allocations: 4 kB / 0.7724 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009922/0.5619, allocations: 282.8 kB / 0.7727 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005395/0.5624, allocations: 246.9 kB / 0.7729 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007682/0.5632, allocations: 289.2 kB / 0.7732 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004563/0.5637, allocations: 390.5 kB / 0.7736 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003826/0.5641, allocations: 207.1 kB / 0.7738 GB, free: 12.99 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002122/0.5643, allocations: 155.5 kB / 0.7739 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002979/0.5646, allocations: 179.3 kB / 0.7741 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.223e-05/0.5647, allocations: 23.94 kB / 0.7741 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006327/0.5653, allocations: 435.1 kB / 0.7745 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.5654, allocations: 95.72 kB / 0.7746 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.5655, allocations: 139.3 kB / 0.7748 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006057/0.5662, allocations: 0.5127 MB / 0.7753 GB, free: 11.47 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5662, allocations: 0 / 0.7753 GB, free: 11.47 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5662, allocations: 0 / 0.7753 GB, free: 11.47 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.5662, allocations: 0 / 0.7753 GB, free: 11.47 MB / 0.545 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.0009675/0.5672, allocations: 0.612 MB / 0.7759 GB, free: 10.81 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.5672, allocations: 8.031 kB / 0.7759 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008589/0.5681, allocations: 120.4 kB / 0.776 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.5684, allocations: 291.7 kB / 0.7763 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.5684, allocations: 16.8 kB / 0.7763 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.988e-05/0.5685, allocations: 20.38 kB / 0.7763 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006481/0.5691, allocations: 423.8 kB / 0.7767 GB, free: 9.883 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.5692, allocations: 0 / 0.7767 GB, free: 9.883 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.19e-05/0.5692, allocations: 11.98 kB / 0.7767 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-05/0.5693, allocations: 28.55 kB / 0.7768 GB, free: 9.844 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006048/0.5699, allocations: 349.9 kB / 0.7771 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002336/0.5722, allocations: 2.038 MB / 0.7791 GB, free: 7.273 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007551/0.573, allocations: 357 kB / 0.7794 GB, free: 6.906 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003732/0.5734, allocations: 185.6 kB / 0.7796 GB, free: 6.719 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001101/0.5735, allocations: 93.03 kB / 0.7797 GB, free: 6.609 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.5735, allocations: 42.5 kB / 0.7797 GB, free: 6.559 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.873e-06/0.5735, allocations: 0 / 0.7797 GB, free: 6.559 MB / 0.545 GB Notification: Performance of matching and sorting (n=34): time 0.004988/0.5785, allocations: 1.573 MB / 0.7813 GB, free: 4.953 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.5786, allocations: 85.14 kB / 0.7813 GB, free: 4.852 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.5788, allocations: 248.8 kB / 0.7816 GB, free: 4.605 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.5789, allocations: 29.7 kB / 0.7816 GB, free: 4.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.579, allocations: 180.1 kB / 0.7818 GB, free: 4.391 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.111e-05/0.5791, allocations: 118.3 kB / 0.7819 GB, free: 4.273 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.5792, allocations: 82.03 kB / 0.782 GB, free: 4.188 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.5793, allocations: 334.8 kB / 0.7823 GB, free: 3.852 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003933/0.5797, allocations: 202.5 kB / 0.7825 GB, free: 3.648 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/0.5802, allocations: 301.1 kB / 0.7828 GB, free: 3.312 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008212/0.581, allocations: 0.5042 MB / 0.7833 GB, free: 2.766 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.581, allocations: 0 / 0.7833 GB, free: 2.766 MB / 0.545 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001258/0.5823, allocations: 0.658 MB / 0.7839 GB, free: 2.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.5823, allocations: 8 kB / 0.7839 GB, free: 2.082 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.5824, allocations: 0 / 0.7839 GB, free: 2.082 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004999/0.5829, allocations: 151.5 kB / 0.7841 GB, free: 1.922 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/0.5833, allocations: 95.81 kB / 0.7841 GB, free: 1.828 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002999/0.5863, allocations: 4.175 MB / 0.7882 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/0.5866, allocations: 35.95 kB / 0.7883 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.5867, allocations: 12 kB / 0.7883 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005332/0.5872, allocations: 321 kB / 0.7886 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004432/0.5877, allocations: 297.1 kB / 0.7889 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008439/0.5885, allocations: 0.5154 MB / 0.7894 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/0.5885, allocations: 0 / 0.7894 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001256/0.5898, allocations: 0.6561 MB / 0.79 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.5898, allocations: 8 kB / 0.79 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.5898, allocations: 4 kB / 0.79 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004094/0.5903, allocations: 143.4 kB / 0.7901 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003963/0.5907, allocations: 99.8 kB / 0.7902 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002893/0.5936, allocations: 4.17 MB / 0.7943 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/0.5939, allocations: 31.97 kB / 0.7943 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.21e-05/0.594, allocations: 23.98 kB / 0.7944 GB, free: 6.57 MB / 0.5606 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.0001828/0.5942, allocations: 204 kB / 0.7946 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.313e-05/0.5942, allocations: 39.69 kB / 0.7946 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.5955, allocations: 0.5932 MB / 0.7952 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.096e-06/0.5956, allocations: 3.984 kB / 0.7952 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.5956, allocations: 0 / 0.7952 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.5957, allocations: 132.8 kB / 0.7953 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.654e-05/0.5958, allocations: 15.89 kB / 0.7953 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000307/0.5961, allocations: 27.97 kB / 0.7954 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.239e-05/0.5962, allocations: 31.95 kB / 0.7954 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001482/0.5977, allocations: 0.7806 MB / 0.7961 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001339/0.599, allocations: 0.9687 MB / 0.7971 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003745/0.5994, allocations: 211.8 kB / 0.7973 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001566/0.5996, allocations: 172.5 kB / 0.7975 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of Backend: time 3.51e-07/0.5996, allocations: 0 / 0.7975 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002734/0.6023, allocations: 1.359 MB / 0.7988 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001313/0.6037, allocations: 1.114 MB / 0.7999 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of Templates: time 0.01544/0.6191, allocations: 9.145 MB / 0.8088 GB, free: 7.656 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)