Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadModel(ModelicaTest): time 2.259/2.259, allocations: 234.9 MB / 250.5 MB, free: 10.52 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004433/0.0004435, allocations: 12 kB / 314.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.278, allocations: 54.87 MB / 369.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009378/0.2874, allocations: 6.289 MB / 375.5 MB, free: 4.512 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005217/0.2927, allocations: 2.132 MB / 377.6 MB, free: 2.371 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008817/0.2936, allocations: 24 kB / 377.6 MB, free: 2.348 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007701/0.2944, allocations: 254.4 kB / 377.9 MB, free: 2.098 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003198/0.2976, allocations: 0.8025 MB / 378.7 MB, free: 1.293 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002671/0.3003, allocations: 0.6314 MB / 379.3 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002373/0.3027, allocations: 0.9599 MB / 380.3 MB, free: 15.7 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003948/0.3067, allocations: 1.482 MB / 381.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008984/0.3076, allocations: 0.4905 MB / 382.2 MB, free: 13.69 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009171/0.3085, allocations: 0.6265 MB / 382.9 MB, free: 13.06 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001574/0.3087, allocations: 59.94 kB / 382.9 MB, free: 13 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008215/0.3096, allocations: 219.7 kB / 383.1 MB, free: 12.79 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002526/0.3098, allocations: 227.1 kB / 383.4 MB, free: 12.57 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003359/0.3102, allocations: 241.1 kB / 383.6 MB, free: 12.32 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002054/0.3122, allocations: 1.278 MB / 384.9 MB, free: 11.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.121e-06/0.3123, allocations: 0 / 384.9 MB, free: 11.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.947e-06/0.3123, allocations: 0 / 384.9 MB, free: 11.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.257e-05/0.3123, allocations: 4 kB / 384.9 MB, free: 11.04 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.009329/0.3217, allocations: 2.131 MB / 387 MB, free: 8.855 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.3217, allocations: 12.02 kB / 387 MB, free: 8.844 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01397/0.3357, allocations: 1.497 MB / 388.5 MB, free: 7.344 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.3371, allocations: 0.5784 MB / 389.1 MB, free: 6.723 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.3373, allocations: 102.6 kB / 389.2 MB, free: 6.621 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003092/0.3376, allocations: 139.9 kB / 389.3 MB, free: 6.484 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003838/0.3415, allocations: 1.515 MB / 390.9 MB, free: 4.918 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.483e-05/0.3416, allocations: 4 kB / 390.9 MB, free: 4.914 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001941/0.3418, allocations: 59.89 kB / 390.9 MB, free: 4.855 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-05/0.3418, allocations: 40 kB / 391 MB, free: 4.816 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004074/0.3459, allocations: 1.58 MB / 392.5 MB, free: 3.23 MB / 314.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0116/0.3575, allocations: 5.365 MB / 397.9 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003555/0.3611, allocations: 2.37 MB / 400.3 MB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002312/0.3614, allocations: 102.1 kB / 400.4 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.934e-05/0.3615, allocations: 51.55 kB / 400.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=129): time 4.995e-06/0.3615, allocations: 0 / 400.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=129): time 0.01213/0.3736, allocations: 3.134 MB / 403.6 MB, free: 7.633 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.265e-05/0.3737, allocations: 90.11 kB / 403.6 MB, free: 7.527 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000735/0.3745, allocations: 449.6 kB / 404.1 MB, free: 7.078 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000146/0.3746, allocations: 49.73 kB / 404.1 MB, free: 7.023 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000417/0.3751, allocations: 0.5094 MB / 404.6 MB, free: 6.508 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005004/0.3756, allocations: 429.7 kB / 405.1 MB, free: 6.082 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.3757, allocations: 32 kB / 405.1 MB, free: 6.051 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002247/0.376, allocations: 366.7 kB / 405.5 MB, free: 5.684 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.3772, allocations: 471.1 kB / 405.9 MB, free: 5.227 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/0.3788, allocations: 0.7439 MB / 406.7 MB, free: 4.367 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.3803, allocations: 0.5335 MB / 407.2 MB, free: 3.832 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.3803, allocations: 0 / 407.2 MB, free: 3.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004398/0.3847, allocations: 1.631 MB / 408.8 MB, free: 2.191 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.3848, allocations: 11.95 kB / 408.8 MB, free: 2.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/0.3848, allocations: 8 kB / 408.8 MB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002131/0.387, allocations: 0.5321 MB / 409.4 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.3881, allocations: 215.6 kB / 409.6 MB, free: 1.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/0.3994, allocations: 5.005 MB / 414.6 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.4005, allocations: 138.8 kB / 414.7 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.4007, allocations: 55.98 kB / 414.8 MB, free: 12.06 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 28} Notification: Performance of prepare postOptimizeDAE: time 0.0006703/0.4014, allocations: 273.5 kB / 415 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002375/0.4016, allocations: 82.97 kB / 415.1 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004041/0.4057, allocations: 1.586 MB / 416.7 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.461e-05/0.4057, allocations: 12 kB / 416.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4057, allocations: 4 kB / 416.7 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.738e-05/0.4058, allocations: 3.984 kB / 416.7 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006752/0.4125, allocations: 2.896 MB / 419.6 MB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.538e-05/0.4126, allocations: 4 kB / 419.6 MB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008925/0.4135, allocations: 147.8 kB / 419.8 MB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002098/0.4156, allocations: 0.5226 MB / 420.3 MB, free: 6.438 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001505/0.4158, allocations: 28 kB / 420.3 MB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01111/0.4269, allocations: 4.989 MB / 425.3 MB, free: 1.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.037e-06/0.427, allocations: 3.984 kB / 425.3 MB, free: 1.246 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005701/0.4327, allocations: 2.308 MB / 427.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006325/0.4334, allocations: 279.8 kB / 427.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.4335, allocations: 24 kB / 427.9 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007571/0.4343, allocations: 56.03 kB / 428 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003163/0.4346, allocations: 105.1 kB / 428.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.4348, allocations: 35.98 kB / 428.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004911/0.4353, allocations: 294.9 kB / 428.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.5e-07/0.4353, allocations: 0 / 428.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001702/0.437, allocations: 423 kB / 428.8 MB, free: 13.7 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 85 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003764/0.4374, allocations: 163.1 kB / 429 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004817/0.4422, allocations: 1.87 MB / 430.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.435e-06/0.4423, allocations: 0 / 430.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00316/0.4454, allocations: 1.24 MB / 432.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007181/0.4462, allocations: 93.75 kB / 432.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005042/0.4513, allocations: 2.552 MB / 434.7 MB, free: 7.703 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/0.4523, allocations: 1.095 MB / 435.8 MB, free: 6.582 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004346/0.4528, allocations: 75.42 kB / 435.9 MB, free: 6.508 MB / 362.7 MB Notification: Performance of SimCode: time 1.684e-06/0.4528, allocations: 0 / 435.9 MB, free: 6.508 MB / 362.7 MB Notification: Performance of Templates: time 0.03116/0.484, allocations: 17.13 MB / 453 MB, free: 5.344 MB / 378.7 MB