Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00095/0.0009498, allocations: 96.27 kB / 15.69 MB, free: 480 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.001072/0.001072, allocations: 178.2 kB / 16.57 MB, free: 6.859 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.408/1.408, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6511/0.6511, allocations: 113.8 MB / 405.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003521, allocations: 11.98 kB / 493.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1542, allocations: 77.15 MB / 0.5568 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.003454/0.1577, allocations: 2.845 MB / 0.5596 GB, free: 8.742 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002753/0.1605, allocations: 1.966 MB / 0.5615 GB, free: 6.766 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.1606, allocations: 7.938 kB / 0.5616 GB, free: 6.758 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.1607, allocations: 39.75 kB / 0.5616 GB, free: 6.719 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003984/0.1611, allocations: 151.5 kB / 0.5617 GB, free: 6.57 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000521/0.1617, allocations: 216.6 kB / 0.5619 GB, free: 6.363 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002999/0.162, allocations: 231.4 kB / 0.5622 GB, free: 6.137 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004581/0.1624, allocations: 317.4 kB / 0.5625 GB, free: 5.797 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.1626, allocations: 115.6 kB / 0.5626 GB, free: 5.684 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.1628, allocations: 115.6 kB / 0.5627 GB, free: 5.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.786e-05/0.1629, allocations: 12 kB / 0.5627 GB, free: 5.559 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004486/0.1633, allocations: 259.6 kB / 0.5629 GB, free: 5.305 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.1635, allocations: 83.72 kB / 0.563 GB, free: 5.223 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.707e-05/0.1635, allocations: 77.58 kB / 0.5631 GB, free: 5.141 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004234/0.164, allocations: 367.2 kB / 0.5635 GB, free: 4.781 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.164, allocations: 0 / 0.5635 GB, free: 4.781 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.164, allocations: 0 / 0.5635 GB, free: 4.781 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.164, allocations: 0 / 0.5635 GB, free: 4.781 MB / 430.1 MB 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.0009119/0.1649, allocations: 0.5727 MB / 0.564 GB, free: 4.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.165, allocations: 12.03 kB / 0.564 GB, free: 4.148 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008894/0.1659, allocations: 131.5 kB / 0.5641 GB, free: 4.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.1662, allocations: 262.6 kB / 0.5644 GB, free: 3.723 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.1662, allocations: 12.44 kB / 0.5644 GB, free: 3.711 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.1663, allocations: 27.92 kB / 0.5644 GB, free: 3.684 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006269/0.1669, allocations: 419.5 kB / 0.5648 GB, free: 3.242 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1669, allocations: 3.938 kB / 0.5648 GB, free: 3.238 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.167, allocations: 8 kB / 0.5648 GB, free: 3.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-05/0.167, allocations: 32.55 kB / 0.5649 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005992/0.1676, allocations: 354 kB / 0.5652 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002243/0.1699, allocations: 2.07 MB / 0.5672 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000745/0.1707, allocations: 363.2 kB / 0.5676 GB, free: 228 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.1708, allocations: 89.28 kB / 0.5677 GB, free: 120 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.1708, allocations: 34.75 kB / 0.5677 GB, free: 76 kB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.1708, allocations: 0 / 0.5677 GB, free: 76 kB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.00524/0.1761, allocations: 1.775 MB / 0.5694 GB, free: 14.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.1761, allocations: 81.11 kB / 0.5695 GB, free: 14.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.1764, allocations: 240.9 kB / 0.5697 GB, free: 13.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.1764, allocations: 29.7 kB / 0.5698 GB, free: 13.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.1766, allocations: 184 kB / 0.5699 GB, free: 13.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.09e-05/0.1766, allocations: 118.3 kB / 0.5701 GB, free: 13.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-05/0.1767, allocations: 11.94 kB / 0.5701 GB, free: 13.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1768, allocations: 338.8 kB / 0.5704 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/0.1772, allocations: 200.8 kB / 0.5706 GB, free: 13.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004863/0.1777, allocations: 308.2 kB / 0.5709 GB, free: 12.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004827/0.1782, allocations: 256.8 kB / 0.5711 GB, free: 12.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1782, allocations: 0 / 0.5711 GB, free: 12.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001339/0.1795, allocations: 0.684 MB / 0.5718 GB, free: 11.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004337/0.18, allocations: 1.134 MB / 0.5729 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.18, allocations: 0 / 0.5729 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004892/0.1805, allocations: 155.3 kB / 0.573 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004116/0.1809, allocations: 91.88 kB / 0.5731 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003127/0.184, allocations: 3.981 MB / 0.577 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/0.1844, allocations: 39.92 kB / 0.5771 GB, free: 5.934 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.1844, allocations: 16 kB / 0.5771 GB, free: 5.918 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.284e-06/0.1844, allocations: 4 kB / 0.5771 GB, free: 5.914 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001198/0.1857, allocations: 0.6276 MB / 0.5777 GB, free: 5.273 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1857, allocations: 0 / 0.5777 GB, free: 5.273 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004135/0.1861, allocations: 151.4 kB / 0.5778 GB, free: 5.113 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/0.1865, allocations: 99.88 kB / 0.5779 GB, free: 5.016 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006002/0.1871, allocations: 1.113 MB / 0.579 GB, free: 3.852 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000311/0.1874, allocations: 39.95 kB / 0.5791 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.1875, allocations: 16 kB / 0.5791 GB, free: 3.797 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002318/0.1877, allocations: 252.9 kB / 0.5793 GB, free: 3.539 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.696e-05/0.1878, allocations: 27.81 kB / 0.5793 GB, free: 3.512 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/0.1891, allocations: 0.6361 MB / 0.58 GB, free: 2.859 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.1892, allocations: 4 kB / 0.58 GB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1892, allocations: 0 / 0.58 GB, free: 2.855 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1892, allocations: 3.984 kB / 0.58 GB, free: 2.852 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002574/0.1918, allocations: 1.237 MB / 0.5812 GB, free: 1.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/0.1918, allocations: 4 kB / 0.5812 GB, free: 1.516 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002883/0.1921, allocations: 71.81 kB / 0.5812 GB, free: 1.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004453/0.1925, allocations: 155.5 kB / 0.5814 GB, free: 1.281 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.1926, allocations: 8 kB / 0.5814 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3063/0.4989, allocations: 3.985 MB / 0.5853 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.4989, allocations: 1.812 kB / 0.5853 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.5005, allocations: 0.8919 MB / 0.5862 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.5007, allocations: 144.5 kB / 0.5863 GB, free: 29.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/0.5007, allocations: 10.75 kB / 0.5863 GB, free: 29.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/0.5011, allocations: 34.08 kB / 0.5864 GB, free: 29.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.855e-05/0.5012, allocations: 38.48 kB / 0.5864 GB, free: 29.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-05/0.5012, allocations: 15.27 kB / 0.5864 GB, free: 29.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001505/0.5014, allocations: 171 kB / 0.5866 GB, free: 29.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5014, allocations: 3.75 kB / 0.5866 GB, free: 29.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007367/0.5021, allocations: 161.1 kB / 0.5867 GB, free: 29.07 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001856/0.5023, allocations: 131.1 kB / 0.5868 GB, free: 28.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002018/0.5043, allocations: 1.227 MB / 0.588 GB, free: 28.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5043, allocations: 1.812 kB / 0.588 GB, free: 28.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007455/0.5051, allocations: 498.7 kB / 0.5885 GB, free: 28.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.5055, allocations: 47.34 kB / 0.5886 GB, free: 28.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.5067, allocations: 0.8727 MB / 0.5894 GB, free: 27.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.507, allocations: 0.8133 MB / 0.5902 GB, free: 27.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000363/0.5074, allocations: 115.2 kB / 0.5903 GB, free: 27.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.88e-05/0.5075, allocations: 27.95 kB / 0.5904 GB, free: 27.2 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5075, allocations: 0.6562 kB / 0.5904 GB, free: 27.2 MB / 446.1 MB Notification: Performance of Templates: time 0.01125/0.5187, allocations: 5.463 MB / 0.5957 GB, free: 26.93 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)