Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Inverters.Rectifier.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Inverters.Rectifier") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002623/0.002629, allocations: 361.9 kB / 17.21 MB, free: 4.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.33/3.33, allocations: 388.9 MB / 406.9 MB, free: 7.023 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003468/0.003468, allocations: 225.4 kB / 452.2 MB, free: 0.5938 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7311/0.7311, allocations: 76.03 MB / 0.56 GB, free: 14.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004763/0.0004765, allocations: 8 kB / 0.6223 GB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.327, allocations: 53.21 MB / 0.6742 GB, free: 62.63 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.00792/0.335, allocations: 6.7 MB / 0.6808 GB, free: 55.9 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005037/0.3401, allocations: 2.269 MB / 0.683 GB, free: 53.64 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006459/0.3408, allocations: 39.69 kB / 0.683 GB, free: 53.6 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005643/0.3414, allocations: 150.9 kB / 0.6832 GB, free: 53.45 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.343, allocations: 0.541 MB / 0.6837 GB, free: 52.91 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.3441, allocations: 319.3 kB / 0.684 GB, free: 52.6 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001664/0.3458, allocations: 1.473 MB / 0.6854 GB, free: 51.12 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001563/0.3474, allocations: 0.8361 MB / 0.6863 GB, free: 50.25 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008253/0.3482, allocations: 434.2 kB / 0.6867 GB, free: 49.82 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.3494, allocations: 0.7052 MB / 0.6874 GB, free: 49.12 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001548/0.3496, allocations: 48 kB / 0.6874 GB, free: 49.07 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.3508, allocations: 0.542 MB / 0.6879 GB, free: 48.53 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004656/0.3513, allocations: 430.9 kB / 0.6883 GB, free: 48.11 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00025/0.3516, allocations: 197.3 kB / 0.6885 GB, free: 47.91 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.353, allocations: 1.138 MB / 0.6896 GB, free: 46.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.353, allocations: 0 / 0.6896 GB, free: 46.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.353, allocations: 3.938 kB / 0.6896 GB, free: 46.76 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.353, allocations: 0 / 0.6896 GB, free: 46.76 MB / 346.7 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.003903/0.357, allocations: 1.235 MB / 0.6908 GB, free: 45.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.357, allocations: 8.031 kB / 0.6909 GB, free: 45.47 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.3581, allocations: 142.8 kB / 0.691 GB, free: 45.33 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.3598, allocations: 0.6559 MB / 0.6916 GB, free: 44.63 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000291/0.3601, allocations: 179.1 kB / 0.6918 GB, free: 44.44 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002778/0.3604, allocations: 79.98 kB / 0.6919 GB, free: 44.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003294/0.3637, allocations: 1.425 MB / 0.6933 GB, free: 42.9 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.104e-05/0.3637, allocations: 7.906 kB / 0.6933 GB, free: 42.89 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/0.3639, allocations: 39.92 kB / 0.6933 GB, free: 42.85 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003577/0.3643, allocations: 85.94 kB / 0.6934 GB, free: 42.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004195/0.3685, allocations: 1.557 MB / 0.6949 GB, free: 41.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009812/0.3783, allocations: 4.443 MB / 0.6993 GB, free: 36.64 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003713/0.3821, allocations: 1.255 MB / 0.7005 GB, free: 35.37 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002135/0.3843, allocations: 0.8047 MB / 0.7013 GB, free: 34.56 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.3844, allocations: 12.64 kB / 0.7013 GB, free: 34.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.3844, allocations: 47.22 kB / 0.7013 GB, free: 34.49 MB / 346.7 MB Notification: Performance of pre-optimization done (n=101): time 4.749e-06/0.3845, allocations: 0 / 0.7013 GB, free: 34.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=102): time 0.01032/0.3948, allocations: 3.948 MB / 0.7052 GB, free: 30.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.3949, allocations: 90.05 kB / 0.7053 GB, free: 30.35 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005135/0.3954, allocations: 405.8 kB / 0.7057 GB, free: 29.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.061e-05/0.3955, allocations: 37.7 kB / 0.7057 GB, free: 29.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.3957, allocations: 348.3 kB / 0.706 GB, free: 29.56 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002847/0.396, allocations: 346.8 kB / 0.7064 GB, free: 29.21 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.281e-05/0.3961, allocations: 16 kB / 0.7064 GB, free: 29.2 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3962, allocations: 386.7 kB / 0.7067 GB, free: 28.81 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001652/0.3979, allocations: 0.6148 MB / 0.7073 GB, free: 28.2 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/0.3996, allocations: 0.762 MB / 0.7081 GB, free: 27.39 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001826/0.4015, allocations: 0.69 MB / 0.7088 GB, free: 26.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.4015, allocations: 0 / 0.7088 GB, free: 26.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004124/0.4056, allocations: 1.631 MB / 0.7103 GB, free: 25.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.4057, allocations: 4 kB / 0.7104 GB, free: 25.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.4057, allocations: 8.188 kB / 0.7104 GB, free: 25.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002078/0.4059, allocations: 48.78 kB / 0.7104 GB, free: 24.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004919/0.4108, allocations: 0.6282 MB / 0.711 GB, free: 24.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008575/0.4194, allocations: 6.398 MB / 0.7173 GB, free: 17.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.4208, allocations: 95.98 kB / 0.7174 GB, free: 17.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.4209, allocations: 35.98 kB / 0.7174 GB, free: 17.3 MB / 346.7 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 (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006168/0.4216, allocations: 313.5 kB / 0.7177 GB, free: 16.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002125/0.4218, allocations: 67.25 kB / 0.7178 GB, free: 16.92 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004197/0.426, allocations: 1.639 MB / 0.7194 GB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/0.426, allocations: 7.938 kB / 0.7194 GB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.4261, allocations: 0 / 0.7194 GB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.4262, allocations: 132.3 kB / 0.7195 GB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.4264, allocations: 16 kB / 0.7195 GB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.4275, allocations: 95.88 kB / 0.7196 GB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002737/0.4278, allocations: 72.88 kB / 0.7197 GB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009131/0.4369, allocations: 2.315 MB / 0.7219 GB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005959/0.4429, allocations: 2.586 MB / 0.7245 GB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00182/0.4448, allocations: 0.7534 MB / 0.7252 GB, free: 9.219 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003815/0.4452, allocations: 271.1 kB / 0.7254 GB, free: 8.953 MB / 346.7 MB Notification: Performance of Backend: time 4.91e-07/0.4452, allocations: 0 / 0.7254 GB, free: 8.953 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006697/0.4519, allocations: 1.518 MB / 0.7269 GB, free: 7.418 MB / 346.7 MB Notification: Performance of SimCode: time 0.004397/0.4563, allocations: 2.777 MB / 0.7296 GB, free: 4.59 MB / 346.7 MB Notification: Performance of Templates: time 0.03456/0.4909, allocations: 13.28 MB / 0.7426 GB, free: 7.402 MB / 362.7 MB