Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 107.8 kB / 17.74 MB, free: 5.227 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.001838/0.001838, allocations: 190.4 kB / 18.67 MB, free: 4.305 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.338/1.338, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1765/0.1765, allocations: 37.99 MB / 309.9 MB, free: 5.949 MB / 254.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.002482/0.002483, allocations: 71.89 kB / 432.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0917/0.0942, allocations: 55.23 MB / 487.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.008991/0.1032, allocations: 6.68 MB / 494.5 MB, free: 1.621 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00401/0.1073, allocations: 2.166 MB / 496.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004925/0.1078, allocations: 23.88 kB / 496.7 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.1094, allocations: 0.5055 MB / 497.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.1108, allocations: 0.5639 MB / 497.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008825/0.1117, allocations: 351.2 kB / 498.1 MB, free: 14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001435/0.1132, allocations: 1.298 MB / 499.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009898/0.1142, allocations: 0.7401 MB / 0.4884 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008485/0.1151, allocations: 0.5488 MB / 0.4889 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.1162, allocations: 0.7284 MB / 0.4896 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000312/0.1166, allocations: 108 kB / 0.4897 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.1178, allocations: 0.6085 MB / 0.4903 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00064/0.1185, allocations: 486.8 kB / 0.4908 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008283/0.1193, allocations: 0.525 MB / 0.4913 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.1212, allocations: 1.535 MB / 0.4928 GB, free: 7.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1212, allocations: 3.938 kB / 0.4928 GB, free: 7.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1212, allocations: 0 / 0.4928 GB, free: 7.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.263e-05/0.1213, allocations: 0 / 0.4928 GB, free: 7.41 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003724/0.125, allocations: 1.368 MB / 0.4941 GB, free: 5.988 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.1251, allocations: 15.88 kB / 0.4942 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009574/0.126, allocations: 139.7 kB / 0.4943 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001674/0.1277, allocations: 0.6881 MB / 0.495 GB, free: 5.109 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002468/0.128, allocations: 175.6 kB / 0.4951 GB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002581/0.1283, allocations: 83.94 kB / 0.4952 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002651/0.1309, allocations: 1.414 MB / 0.4966 GB, free: 3.383 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.809e-05/0.131, allocations: 7.938 kB / 0.4966 GB, free: 3.375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.1311, allocations: 32 kB / 0.4966 GB, free: 3.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002257/0.1313, allocations: 85.94 kB / 0.4967 GB, free: 3.258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002828/0.1342, allocations: 1.515 MB / 0.4982 GB, free: 1.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007366/0.1415, allocations: 4.412 MB / 0.5025 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/0.144, allocations: 1.196 MB / 0.5037 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001285/0.1453, allocations: 0.7656 MB / 0.5044 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.59e-05/0.1453, allocations: 12.66 kB / 0.5044 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.1454, allocations: 43.22 kB / 0.5045 GB, free: 11.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=101): time 3.587e-06/0.1454, allocations: 0 / 0.5045 GB, free: 11.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=102): time 0.00703/0.1524, allocations: 3.866 MB / 0.5082 GB, free: 7.203 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.1525, allocations: 86.11 kB / 0.5083 GB, free: 7.102 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004912/0.153, allocations: 397.9 kB / 0.5087 GB, free: 6.703 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.601e-05/0.1531, allocations: 41.7 kB / 0.5087 GB, free: 6.656 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.1533, allocations: 348.2 kB / 0.5091 GB, free: 6.309 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002918/0.1536, allocations: 346.8 kB / 0.5094 GB, free: 5.965 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003007/0.1539, allocations: 166.7 kB / 0.5096 GB, free: 5.797 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.1541, allocations: 378.8 kB / 0.5099 GB, free: 5.418 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.1552, allocations: 0.5953 MB / 0.5105 GB, free: 4.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.1564, allocations: 0.7386 MB / 0.5112 GB, free: 4.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002236/0.1586, allocations: 1.379 MB / 0.5126 GB, free: 2.609 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.1586, allocations: 4 kB / 0.5126 GB, free: 2.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00277/0.1614, allocations: 1.603 MB / 0.5141 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.1614, allocations: 7.938 kB / 0.5142 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.175e-05/0.1615, allocations: 7.984 kB / 0.5142 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000163/0.1616, allocations: 41.03 kB / 0.5142 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002572/0.1642, allocations: 0.4953 MB / 0.5147 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00694/0.1712, allocations: 6.694 MB / 0.5212 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006956/0.1719, allocations: 79.89 kB / 0.5213 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.172, allocations: 31.94 kB / 0.5213 GB, free: 9.059 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005075/0.1725, allocations: 325.5 kB / 0.5216 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/0.1728, allocations: 63.16 kB / 0.5217 GB, free: 8.668 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002849/0.1756, allocations: 1.596 MB / 0.5233 GB, free: 7.043 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.1756, allocations: 7.984 kB / 0.5233 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1757, allocations: 0 / 0.5233 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.1758, allocations: 132.3 kB / 0.5234 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.176, allocations: 23.98 kB / 0.5234 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006052/0.1766, allocations: 75.89 kB / 0.5235 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/0.1768, allocations: 80.83 kB / 0.5236 GB, free: 6.711 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005077/0.1819, allocations: 2.104 MB / 0.5256 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003912/0.1858, allocations: 2.519 MB / 0.5281 GB, free: 2.047 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001098/0.1869, allocations: 0.7299 MB / 0.5288 GB, free: 1.316 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002991/0.1872, allocations: 279.1 kB / 0.5291 GB, free: 1.043 MB / 414.1 MB Notification: Performance of Backend: time 3.71e-07/0.1872, allocations: 0 / 0.5291 GB, free: 1.043 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.1852/0.3725, allocations: 1.443 MB / 0.5305 GB, free: 52.05 MB / 414.1 MB Notification: Performance of SimCode: time 0.003008/0.3755, allocations: 2.325 MB / 0.5327 GB, free: 50.89 MB / 414.1 MB Notification: Performance of Templates: time 0.0242/0.3997, allocations: 15.23 MB / 0.5476 GB, free: 46.71 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1)