Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 2.056/2.056, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003513, allocations: 8 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1031, allocations: 44.51 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.01114/0.1143, allocations: 5.179 MB / 314.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005167/0.1195, allocations: 1.972 MB / 316.2 MB, free: 9.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007978/0.1204, allocations: 23.94 kB / 316.2 MB, free: 9.156 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007505/0.1212, allocations: 190.8 kB / 316.4 MB, free: 8.969 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002622/0.1238, allocations: 0.7126 MB / 317.1 MB, free: 8.254 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.1252, allocations: 375.1 kB / 317.5 MB, free: 7.887 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001918/0.1271, allocations: 0.7684 MB / 318.3 MB, free: 7.113 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002349/0.1295, allocations: 0.9218 MB / 319.2 MB, free: 6.145 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006758/0.1302, allocations: 370.6 kB / 319.6 MB, free: 5.781 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008235/0.131, allocations: 454 kB / 320 MB, free: 5.336 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.1312, allocations: 48 kB / 320 MB, free: 5.289 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006776/0.1319, allocations: 167.8 kB / 320.2 MB, free: 5.125 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000223/0.1321, allocations: 171.3 kB / 320.4 MB, free: 4.957 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002867/0.1324, allocations: 217.1 kB / 320.6 MB, free: 4.738 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.1341, allocations: 1.048 MB / 321.6 MB, free: 3.688 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1341, allocations: 3.938 kB / 321.6 MB, free: 3.684 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1341, allocations: 0 / 321.6 MB, free: 3.684 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.722e-05/0.1342, allocations: 4 kB / 321.6 MB, free: 3.68 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.004195/0.1384, allocations: 1.257 MB / 322.9 MB, free: 2.367 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.1384, allocations: 12.03 kB / 322.9 MB, free: 2.355 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004505/0.143, allocations: 478.3 kB / 323.4 MB, free: 1.887 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.1445, allocations: 0.5451 MB / 323.9 MB, free: 1.301 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.867e-05/0.1446, allocations: 74.02 kB / 324 MB, free: 1.227 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002499/0.1448, allocations: 104 kB / 324.1 MB, free: 1.125 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002961/0.1478, allocations: 1.043 MB / 325.1 MB, free: 32 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.119e-05/0.1479, allocations: 0 / 325.1 MB, free: 32 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001888/0.1481, allocations: 44.08 kB / 325.2 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.142e-05/0.1481, allocations: 28 kB / 325.2 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003055/0.1512, allocations: 0.933 MB / 326.1 MB, free: 15.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009089/0.1603, allocations: 3.75 MB / 329.9 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004289/0.1647, allocations: 2.49 MB / 332.4 MB, free: 8.234 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/0.1649, allocations: 97.73 kB / 332.5 MB, free: 8.121 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001463/0.1664, allocations: 0.5008 MB / 333 MB, free: 7.586 MB / 282.7 MB Notification: Performance of pre-optimization done (n=86): time 6.973e-06/0.1664, allocations: 4 kB / 333 MB, free: 7.582 MB / 282.7 MB Notification: Performance of matching and sorting (n=86): time 0.007702/0.1741, allocations: 1.677 MB / 334.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.1743, allocations: 196.9 kB / 334.9 MB, free: 5.621 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009058/0.1752, allocations: 470 kB / 335.3 MB, free: 5.148 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001272/0.1753, allocations: 41.7 kB / 335.4 MB, free: 5.102 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004234/0.1758, allocations: 423.5 kB / 335.8 MB, free: 4.68 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000346/0.1761, allocations: 287.8 kB / 336.1 MB, free: 4.395 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.969e-05/0.1762, allocations: 16 kB / 336.1 MB, free: 4.379 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.1764, allocations: 374.8 kB / 336.4 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/0.1774, allocations: 285.9 kB / 336.7 MB, free: 3.727 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/0.1787, allocations: 0.5239 MB / 337.2 MB, free: 3.098 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.1798, allocations: 351 kB / 337.6 MB, free: 2.758 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.1798, allocations: 4 kB / 337.6 MB, free: 2.754 MB / 282.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003508/0.1833, allocations: 1.088 MB / 338.7 MB, free: 1.652 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.1834, allocations: 12.03 kB / 338.7 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.1834, allocations: 11.95 kB / 338.7 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/0.1849, allocations: 271.3 kB / 339 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.1861, allocations: 167.7 kB / 339.1 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008472/0.1946, allocations: 4.466 MB / 343.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.1958, allocations: 115 kB / 343.7 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.506e-05/0.1959, allocations: 36 kB / 343.7 MB, free: 12.31 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.iDC2.mean.y,iDC2.mean.y,$PRE.iAC.mean1.y,iAC.mean1.y,$PRE.iAC.mean2.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,4 17} Notification: Performance of prepare postOptimizeDAE: time 0.0006209/0.1965, allocations: 253.6 kB / 344 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.1967, allocations: 67.16 kB / 344.1 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003311/0.2, allocations: 0.9831 MB / 345 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.829e-05/0.2001, allocations: 3.984 kB / 345 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.2001, allocations: 12 kB / 345.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004649/0.2005, allocations: 208 kB / 345.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.2007, allocations: 31.94 kB / 345.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007771/0.2015, allocations: 47.97 kB / 345.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/0.2018, allocations: 60.91 kB / 345.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004341/0.2061, allocations: 1.17 MB / 346.6 MB, free: 9.434 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003481/0.2096, allocations: 1.333 MB / 347.9 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009709/0.2106, allocations: 307.8 kB / 348.2 MB, free: 7.785 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000566/0.2112, allocations: 322.8 kB / 348.5 MB, free: 7.473 MB / 298.7 MB Notification: Performance of Backend: time 7.82e-07/0.2112, allocations: 0 / 348.5 MB, free: 7.473 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002985/0.2142, allocations: 1.009 MB / 349.5 MB, free: 6.438 MB / 298.7 MB Notification: Performance of SimCode: time 0.004382/0.2186, allocations: 2.465 MB / 352 MB, free: 3.914 MB / 298.7 MB Notification: Performance of Templates: time 0.03551/0.2542, allocations: 12.06 MB / 364 MB, free: 7.887 MB / 314.7 MB