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.00103/0.00103, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001014/0.001014, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.342/1.342, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002221/0.002221, allocations: 294.7 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.962/0.962, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 95.86 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4547/0.4565, allocations: 86.97 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.006036/0.4626, allocations: 3.348 MB / 0.7703 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003921/0.4665, allocations: 2.162 MB / 0.7724 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002864/0.4668, allocations: 11.88 kB / 0.7724 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.468, allocations: 286.8 kB / 0.7727 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009363/0.469, allocations: 246.9 kB / 0.773 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.4701, allocations: 294.7 kB / 0.7732 GB, free: 13.56 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000683/0.4708, allocations: 394.5 kB / 0.7736 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004656/0.4713, allocations: 200.8 kB / 0.7738 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003543/0.4716, allocations: 151.5 kB / 0.774 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000517/0.4722, allocations: 183.3 kB / 0.7741 GB, free: 12.65 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.611e-05/0.4723, allocations: 24 kB / 0.7741 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009553/0.4732, allocations: 427.2 kB / 0.7746 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000187/0.4734, allocations: 95.7 kB / 0.7746 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002094/0.4736, allocations: 135.3 kB / 0.7748 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008217/0.4745, allocations: 0.5166 MB / 0.7753 GB, free: 11.46 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.4745, allocations: 0 / 0.7753 GB, free: 11.46 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4745, allocations: 0 / 0.7753 GB, free: 11.46 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.4745, allocations: 4 kB / 0.7753 GB, free: 11.46 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.001093/0.4756, allocations: 0.6158 MB / 0.7759 GB, free: 10.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.4757, allocations: 8.031 kB / 0.7759 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000936/0.4766, allocations: 116.4 kB / 0.776 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/0.477, allocations: 287.7 kB / 0.7763 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/0.4771, allocations: 12.81 kB / 0.7763 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.283e-05/0.4771, allocations: 32.3 kB / 0.7763 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006889/0.4778, allocations: 407.9 kB / 0.7767 GB, free: 9.887 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.4779, allocations: 3.938 kB / 0.7767 GB, free: 9.883 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.364e-05/0.4779, allocations: 12 kB / 0.7767 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.436e-05/0.478, allocations: 36.53 kB / 0.7768 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006437/0.4786, allocations: 338 kB / 0.7771 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002498/0.4811, allocations: 2.046 MB / 0.7791 GB, free: 7.27 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007863/0.4819, allocations: 353 kB / 0.7794 GB, free: 6.906 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003886/0.4823, allocations: 189.6 kB / 0.7796 GB, free: 6.715 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.4824, allocations: 92.97 kB / 0.7797 GB, free: 6.605 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.4825, allocations: 42.56 kB / 0.7797 GB, free: 6.555 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.4825, allocations: 0 / 0.7797 GB, free: 6.555 MB / 0.545 GB Notification: Performance of matching and sorting (n=34): time 0.004953/0.4874, allocations: 1.576 MB / 0.7813 GB, free: 4.945 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.4875, allocations: 85.09 kB / 0.7813 GB, free: 4.844 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.4877, allocations: 240.8 kB / 0.7816 GB, free: 4.605 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.4878, allocations: 29.7 kB / 0.7816 GB, free: 4.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.4879, allocations: 184 kB / 0.7818 GB, free: 4.387 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.497e-05/0.488, allocations: 110.3 kB / 0.7819 GB, free: 4.277 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.4881, allocations: 86.03 kB / 0.782 GB, free: 4.188 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.4882, allocations: 334.8 kB / 0.7823 GB, free: 3.852 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004035/0.4886, allocations: 198.5 kB / 0.7825 GB, free: 3.652 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004703/0.4891, allocations: 308.2 kB / 0.7828 GB, free: 3.312 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008319/0.49, allocations: 0.5003 MB / 0.7833 GB, free: 2.77 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.49, allocations: 0 / 0.7833 GB, free: 2.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001293/0.4913, allocations: 0.6655 MB / 0.7839 GB, free: 2.086 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.4913, allocations: 4 kB / 0.7839 GB, free: 2.082 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.4913, allocations: 4.406 kB / 0.7839 GB, free: 2.078 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005191/0.4918, allocations: 147.3 kB / 0.7841 GB, free: 1.922 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004014/0.4923, allocations: 99.81 kB / 0.7842 GB, free: 1.824 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003056/0.4953, allocations: 4.167 MB / 0.7882 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/0.4957, allocations: 36 kB / 0.7883 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.4957, allocations: 12 kB / 0.7883 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000521/0.4963, allocations: 328.9 kB / 0.7886 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004423/0.4967, allocations: 301.1 kB / 0.7889 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008413/0.4976, allocations: 0.5076 MB / 0.7894 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/0.4976, allocations: 0 / 0.7894 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001268/0.4988, allocations: 0.6562 MB / 0.79 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.4989, allocations: 8 kB / 0.79 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.4989, allocations: 3.938 kB / 0.79 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000425/0.4993, allocations: 155.4 kB / 0.7902 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/0.4997, allocations: 87.88 kB / 0.7902 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002901/0.5026, allocations: 4.17 MB / 0.7943 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003415/0.503, allocations: 35.95 kB / 0.7944 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.503, allocations: 16 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.0001654/0.5032, allocations: 216.2 kB / 0.7946 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-05/0.5033, allocations: 31.62 kB / 0.7946 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.5045, allocations: 0.5971 MB / 0.7952 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.976e-06/0.5045, allocations: 7.922 kB / 0.7952 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.5046, allocations: 0 / 0.7952 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.5047, allocations: 144.8 kB / 0.7953 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.867e-05/0.5048, allocations: 7.906 kB / 0.7953 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003191/0.5051, allocations: 27.97 kB / 0.7954 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.281e-05/0.5052, allocations: 27.95 kB / 0.7954 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00148/0.5067, allocations: 0.7845 MB / 0.7962 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001379/0.5081, allocations: 0.9687 MB / 0.7971 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003835/0.5085, allocations: 211.8 kB / 0.7973 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001734/0.5087, allocations: 176.5 kB / 0.7975 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of Backend: time 5.41e-07/0.5087, allocations: 0 / 0.7975 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002814/0.5115, allocations: 1.353 MB / 0.7988 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001335/0.5129, allocations: 1.101 MB / 0.7999 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of Templates: time 0.01682/0.5297, allocations: 9.149 MB / 0.8088 GB, free: 7.648 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)