Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 1.666/1.666, allocations: 171.2 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005522/0.0005524, allocations: 11.98 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08565/0.08623, allocations: 38.76 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.008284/0.09458, allocations: 4.894 MB / 277.5 MB, free: 6.621 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004638/0.09926, allocations: 1.792 MB / 279.3 MB, free: 4.824 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008126/0.1001, allocations: 19.94 kB / 279.3 MB, free: 4.805 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008082/0.101, allocations: 182.8 kB / 279.5 MB, free: 4.625 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002261/0.1032, allocations: 0.6151 MB / 280.1 MB, free: 4.008 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.1048, allocations: 359.2 kB / 280.5 MB, free: 3.656 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001926/0.1067, allocations: 0.7061 MB / 281.2 MB, free: 2.949 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002593/0.1093, allocations: 0.9216 MB / 282.1 MB, free: 1.984 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007203/0.1101, allocations: 330.6 kB / 282.4 MB, free: 1.66 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008055/0.1109, allocations: 414.2 kB / 282.8 MB, free: 1.254 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000163/0.1111, allocations: 44 kB / 282.9 MB, free: 1.211 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000566/0.1117, allocations: 143.9 kB / 283 MB, free: 1.07 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.1119, allocations: 151.4 kB / 283.2 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003558/0.1123, allocations: 201.2 kB / 283.4 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001826/0.1141, allocations: 0.9858 MB / 284.3 MB, free: 15.73 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1142, allocations: 0 / 284.3 MB, free: 15.73 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.426e-06/0.1142, allocations: 0 / 284.3 MB, free: 15.73 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.63e-05/0.1142, allocations: 0 / 284.3 MB, free: 15.73 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.004353/0.1186, allocations: 1.213 MB / 285.6 MB, free: 14.47 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.1187, allocations: 8.031 kB / 285.6 MB, free: 14.46 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008702/0.1195, allocations: 146.7 kB / 285.7 MB, free: 14.32 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.1208, allocations: 0.514 MB / 286.2 MB, free: 13.76 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.016e-05/0.1209, allocations: 77.89 kB / 286.3 MB, free: 13.68 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000215/0.1211, allocations: 95.91 kB / 286.4 MB, free: 13.59 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002595/0.1237, allocations: 0.8986 MB / 287.3 MB, free: 12.66 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.829e-05/0.1238, allocations: 0 / 287.3 MB, free: 12.66 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.124, allocations: 40 kB / 287.3 MB, free: 12.62 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.595e-05/0.124, allocations: 27.98 kB / 287.4 MB, free: 12.6 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002373/0.1264, allocations: 0.7027 MB / 288.1 MB, free: 11.89 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007623/0.134, allocations: 3.225 MB / 291.3 MB, free: 8.523 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002366/0.1364, allocations: 0.9254 MB / 292.2 MB, free: 7.527 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.004e-05/0.1366, allocations: 4.562 kB / 292.2 MB, free: 7.523 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001242/0.1378, allocations: 445.7 kB / 292.7 MB, free: 7.055 MB / 250.7 MB Notification: Performance of pre-optimization done (n=69): time 3.917e-06/0.1378, allocations: 0 / 292.7 MB, free: 7.055 MB / 250.7 MB Notification: Performance of matching and sorting (n=69): time 0.007614/0.1455, allocations: 1.546 MB / 294.2 MB, free: 5.461 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.1456, allocations: 196.5 kB / 294.4 MB, free: 5.227 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007945/0.1464, allocations: 437.8 kB / 294.8 MB, free: 4.789 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001521/0.1466, allocations: 41.7 kB / 294.9 MB, free: 4.742 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000414/0.147, allocations: 399.5 kB / 295.3 MB, free: 4.344 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003078/0.1474, allocations: 220.9 kB / 295.5 MB, free: 4.125 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.846e-05/0.1474, allocations: 19.94 kB / 295.5 MB, free: 4.105 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.1476, allocations: 362.8 kB / 295.8 MB, free: 3.742 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008637/0.1485, allocations: 233.9 kB / 296.1 MB, free: 3.516 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.1496, allocations: 443.1 kB / 296.5 MB, free: 3 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.1506, allocations: 274.1 kB / 296.8 MB, free: 2.73 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.1507, allocations: 4 kB / 296.8 MB, free: 2.727 MB / 250.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.003111/0.1538, allocations: 0.9222 MB / 297.7 MB, free: 1.793 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.1538, allocations: 8 kB / 297.7 MB, free: 1.785 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.1539, allocations: 4 kB / 297.7 MB, free: 1.781 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001484/0.1554, allocations: 278.6 kB / 298 MB, free: 1.504 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009092/0.1563, allocations: 123.8 kB / 298.1 MB, free: 1.383 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2117/0.3681, allocations: 4.45 MB / 302.6 MB, free: 27.37 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009598/0.3691, allocations: 97.31 kB / 302.6 MB, free: 27.37 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.117e-05/0.3692, allocations: 30.83 kB / 302.7 MB, free: 27.37 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (65): * Single equations (assignments): 63 * 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.0004747/0.3697, allocations: 237.9 kB / 302.9 MB, free: 27.25 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.3698, allocations: 61.77 kB / 303 MB, free: 27.25 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002764/0.3726, allocations: 0.8213 MB / 303.8 MB, free: 27.07 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.3726, allocations: 4.969 kB / 303.8 MB, free: 27.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.3726, allocations: 1.984 kB / 303.8 MB, free: 27.07 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003854/0.373, allocations: 197.3 kB / 304 MB, free: 26.94 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/0.3732, allocations: 19.84 kB / 304 MB, free: 26.93 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006674/0.3739, allocations: 51.75 kB / 304.1 MB, free: 26.91 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/0.3741, allocations: 58.47 kB / 304.1 MB, free: 26.91 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003885/0.378, allocations: 1.04 MB / 305.2 MB, free: 26.47 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00287/0.3809, allocations: 1.152 MB / 306.3 MB, free: 25.87 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008355/0.3818, allocations: 256.5 kB / 306.6 MB, free: 25.78 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0005084/0.3823, allocations: 298.9 kB / 306.9 MB, free: 25.63 MB / 250.7 MB Notification: Performance of Backend: time 8.82e-07/0.3823, allocations: 0 / 306.9 MB, free: 25.63 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002541/0.3849, allocations: 0.9005 MB / 307.8 MB, free: 25.12 MB / 250.7 MB Notification: Performance of SimCode: time 0.003579/0.3885, allocations: 2.33 MB / 310.1 MB, free: 23.53 MB / 250.7 MB Notification: Performance of Templates: time 0.02886/0.4174, allocations: 10.72 MB / 320.8 MB, free: 18.72 MB / 250.7 MB