Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL.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.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|fundamentalWaveCurrent.mean1.y|fundamentalWaveCurrent.mean2.y|fundamentalWaveVoltage.mean1.y|fundamentalWaveVoltage.mean2.y|inverter.ac.v|inverter.ac.i",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL") Notification: Performance of loadModel(Modelica): time 2.009/2.009, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00051/0.0005101, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09934/0.09988, allocations: 44.5 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_RL): time 0.00672/0.1067, allocations: 3.956 MB / 313 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00353/0.1102, allocations: 1.326 MB / 314.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000561/0.1108, allocations: 19.88 kB / 314.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.1112, allocations: 83.3 kB / 314.5 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008105/0.112, allocations: 231.2 kB / 314.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009651/0.113, allocations: 227.6 kB / 314.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001413/0.1144, allocations: 0.6397 MB / 315.6 MB, free: 9.844 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006967/0.1151, allocations: 291.5 kB / 315.8 MB, free: 9.543 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005808/0.1157, allocations: 290.7 kB / 316.1 MB, free: 9.258 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005678/0.1163, allocations: 338.4 kB / 316.4 MB, free: 8.922 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.1165, allocations: 36 kB / 316.5 MB, free: 8.887 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.1166, allocations: 32 kB / 316.5 MB, free: 8.855 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002054/0.1169, allocations: 139.4 kB / 316.7 MB, free: 8.719 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002389/0.1171, allocations: 173.3 kB / 316.8 MB, free: 8.543 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.1183, allocations: 0.7869 MB / 317.6 MB, free: 7.754 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1183, allocations: 4 kB / 317.6 MB, free: 7.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1183, allocations: 0 / 317.6 MB, free: 7.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.1183, allocations: 0 / 317.6 MB, free: 7.75 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.003245/0.1216, allocations: 1.045 MB / 318.7 MB, free: 6.652 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.1217, allocations: 19.95 kB / 318.7 MB, free: 6.633 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002688/0.1219, allocations: 94.88 kB / 318.8 MB, free: 6.539 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.1235, allocations: 0.5551 MB / 319.3 MB, free: 5.941 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/0.1236, allocations: 65.98 kB / 319.4 MB, free: 5.879 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/0.1238, allocations: 76 kB / 319.5 MB, free: 5.805 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002184/0.126, allocations: 0.7459 MB / 320.2 MB, free: 5.031 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.768e-05/0.1261, allocations: 7.938 kB / 320.2 MB, free: 5.023 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.1262, allocations: 24 kB / 320.2 MB, free: 5 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/0.1262, allocations: 16 kB / 320.3 MB, free: 4.984 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002134/0.1284, allocations: 0.5868 MB / 320.8 MB, free: 4.395 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00635/0.1348, allocations: 2.648 MB / 323.5 MB, free: 1.637 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/0.1368, allocations: 0.5796 MB / 324.1 MB, free: 1.047 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.705e-05/0.1369, allocations: 12.55 kB / 324.1 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001364/0.1383, allocations: 465.5 kB / 324.5 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of pre-optimization done (n=69): time 4.288e-06/0.1383, allocations: 0 / 324.5 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of matching and sorting (n=69): time 0.00563/0.1439, allocations: 1.238 MB / 325.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.96e-05/0.1441, allocations: 123.4 kB / 325.9 MB, free: 15.15 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009771/0.1451, allocations: 0.5186 MB / 326.4 MB, free: 14.62 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001361/0.1452, allocations: 45.69 kB / 326.5 MB, free: 14.57 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/0.1456, allocations: 336.5 kB / 326.8 MB, free: 14.24 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002797/0.1459, allocations: 209 kB / 327 MB, free: 14.03 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/0.1459, allocations: 12 kB / 327 MB, free: 14.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.1462, allocations: 382.8 kB / 327.4 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009579/0.1471, allocations: 241.9 kB / 327.6 MB, free: 13.4 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.1482, allocations: 427 kB / 328 MB, free: 12.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.1493, allocations: 311.7 kB / 328.3 MB, free: 12.6 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.1493, allocations: 4 kB / 328.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002768/0.1521, allocations: 0.8678 MB / 329.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002349/0.1524, allocations: 263 kB / 329.5 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.1524, allocations: 8 kB / 329.5 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007579/0.1532, allocations: 150.1 kB / 329.6 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009749/0.1542, allocations: 131.7 kB / 329.7 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004557/0.1587, allocations: 2.326 MB / 332.1 MB, free: 8.633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.1598, allocations: 99.3 kB / 332.2 MB, free: 8.535 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.409e-05/0.1599, allocations: 35.98 kB / 332.2 MB, free: 8.5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.1599, allocations: 4 kB / 332.2 MB, free: 8.496 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002427/0.1624, allocations: 0.7578 MB / 333 MB, free: 7.727 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.1624, allocations: 11.94 kB / 333 MB, free: 7.715 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006898/0.1631, allocations: 140.8 kB / 333.1 MB, free: 7.574 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009101/0.164, allocations: 123.8 kB / 333.2 MB, free: 7.453 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004635/0.1687, allocations: 2.336 MB / 335.6 MB, free: 4.988 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009209/0.1696, allocations: 87.39 kB / 335.7 MB, free: 4.902 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.277e-05/0.1697, allocations: 27.98 kB / 335.7 MB, free: 4.875 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.firstTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.fundamentalWaveCurrent.mean1.y,fundamentalWaveCurrent.mean1.y,$PRE.fundamentalWaveCurrent.mean2.y,fundamentalWaveCurrent.mean2.y,$PRE.fundamentalWaveVoltage.mean1.y,fundamentalWaveVoltage.mean1.y,$PRE.fundamentalWaveVoltage.mean2.y,fundamentalWaveVoltage.mean2.y,$whenCondition6,signalPWM.zeroOrderHold.sampleTrigger,signalPWM.zeroOrderHold.ySample,$whenCondition5,inverter.andCondition_p.y,inverter.andCondition_n.y,inverter.transistor_p.off,inverter.diode_p.off,inverter.transistor_n.off,inverter.diode_n.off,signalPWM.notFire,$PRE.signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.sawtooth.T_start,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 13} Notification: Performance of prepare postOptimizeDAE: time 0.000597/0.1703, allocations: 308.9 kB / 336 MB, free: 4.562 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.1705, allocations: 75.14 kB / 336.1 MB, free: 4.488 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002677/0.1732, allocations: 0.7799 MB / 336.8 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.1732, allocations: 3.984 kB / 336.8 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1733, allocations: 0 / 336.8 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004249/0.1737, allocations: 212 kB / 337 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.1739, allocations: 15.95 kB / 337.1 MB, free: 3.445 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007378/0.1746, allocations: 55.95 kB / 337.1 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/0.1748, allocations: 52.48 kB / 337.2 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003733/0.1786, allocations: 0.9093 MB / 338.1 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003421/0.182, allocations: 1.167 MB / 339.2 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009696/0.183, allocations: 288.3 kB / 339.5 MB, free: 0.957 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006774/0.1837, allocations: 366.8 kB / 339.9 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of Backend: time 7.51e-07/0.1837, allocations: 0 / 339.9 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003771/0.1875, allocations: 1.345 MB / 341.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of SimCode: time 0.003752/0.1913, allocations: 2.067 MB / 343.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of Templates: time 0.03331/0.2246, allocations: 11.54 MB / 354.8 MB, free: 1.586 MB / 298.7 MB