Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadModel(Modelica): time 1.733/1.733, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003527, allocations: 8 kB / 263.9 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08047/0.08085, allocations: 44.5 MB / 308.5 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3861/0.467, allocations: 84.28 MB / 392.7 MB, free: 18.72 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.4673, allocations: 85.41 kB / 392.8 MB, free: 18.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1927/0.6601, allocations: 56.42 MB / 449.2 MB, free: 8.836 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.502e-06/0.6601, allocations: 4 kB / 449.2 MB, free: 8.832 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001781/0.6603, allocations: 47.94 kB / 449.3 MB, free: 8.785 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.006073/0.6664, allocations: 2.01 MB / 451.3 MB, free: 6.719 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.6665, allocations: 8.031 kB / 451.3 MB, free: 6.711 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.6678, allocations: 257.3 kB / 451.6 MB, free: 6.457 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003669/0.6715, allocations: 1.313 MB / 452.9 MB, free: 5.098 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001746/0.6717, allocations: 127.5 kB / 453 MB, free: 4.973 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005489/0.6723, allocations: 172 kB / 453.2 MB, free: 4.805 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006952/0.6793, allocations: 2.494 MB / 455.7 MB, free: 2.238 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.715e-05/0.6794, allocations: 0 / 455.7 MB, free: 2.238 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002986/0.6797, allocations: 72 kB / 455.7 MB, free: 2.168 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001414/0.6798, allocations: 99.52 kB / 455.8 MB, free: 2.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0054/0.6852, allocations: 1.958 MB / 457.8 MB, free: 112 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01553/0.7008, allocations: 6.904 MB / 464.7 MB, free: 9.055 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003161/0.704, allocations: 2.152 MB / 466.8 MB, free: 6.676 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003359/0.7044, allocations: 133.7 kB / 467 MB, free: 6.527 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.29e-05/0.7044, allocations: 39.22 kB / 467 MB, free: 6.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=82): time 4.061e-06/0.7045, allocations: 0 / 467 MB, free: 6.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=88): time 0.008606/0.7131, allocations: 3.284 MB / 470.3 MB, free: 3.137 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.207e-05/0.7132, allocations: 90.06 kB / 470.4 MB, free: 3.031 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002434/0.7156, allocations: 1.092 MB / 471.5 MB, free: 1.922 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001916/0.7159, allocations: 41.7 kB / 471.5 MB, free: 1.875 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007517/0.7166, allocations: 0.7853 MB / 472.3 MB, free: 1.078 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004029/0.717, allocations: 303.6 kB / 472.6 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.752e-05/0.7171, allocations: 16 kB / 472.6 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.7174, allocations: 354.7 kB / 473 MB, free: 416 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/0.7186, allocations: 0.4899 MB / 473.4 MB, free: 15.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.7199, allocations: 0.6614 MB / 474.1 MB, free: 15.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.7213, allocations: 0.6003 MB / 474.7 MB, free: 14.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.114e-06/0.7213, allocations: 7.938 kB / 474.7 MB, free: 14.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.003265/0.7246, allocations: 1.349 MB / 476.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/0.7247, allocations: 11.98 kB / 476.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.7247, allocations: 8 kB / 476.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005582/0.7253, allocations: 116.8 kB / 476.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.7266, allocations: 235.7 kB / 476.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003354/0.73, allocations: 2.143 MB / 478.6 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.7312, allocations: 39.98 kB / 478.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/0.7313, allocations: 36 kB / 478.6 MB, free: 10.51 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001671/0.733, allocations: 0.6692 MB / 479.3 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004408/0.7335, allocations: 118.6 kB / 479.4 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003128/0.7366, allocations: 1.288 MB / 480.7 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.7367, allocations: 12 kB / 480.7 MB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.866e-05/0.7367, allocations: 4 kB / 480.7 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.7367, allocations: 3.984 kB / 480.7 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007642/0.7444, allocations: 3.21 MB / 484 MB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.7444, allocations: 0 / 484 MB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.7455, allocations: 187.8 kB / 484.1 MB, free: 4.945 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004654/0.746, allocations: 104.7 kB / 484.2 MB, free: 4.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.18e-05/0.7461, allocations: 19.98 kB / 484.3 MB, free: 4.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004226/0.7503, allocations: 3.424 MB / 487.7 MB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.427e-06/0.7503, allocations: 0 / 487.7 MB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004422/0.7548, allocations: 1.982 MB / 489.7 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009026/0.7557, allocations: 327.5 kB / 490 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/0.7559, allocations: 16 kB / 490 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008279/0.7568, allocations: 60.03 kB / 490.1 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/0.757, allocations: 60.91 kB / 490.1 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-05/0.7571, allocations: 23.98 kB / 490.1 MB, free: 14.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001814/0.7589, allocations: 0.8579 MB / 491 MB, free: 13.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.76e-07/0.7589, allocations: 0 / 491 MB, free: 13.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001599/0.7606, allocations: 367.9 kB / 491.4 MB, free: 13.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (load.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004405/0.761, allocations: 186.9 kB / 491.5 MB, free: 13.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003101/0.7641, allocations: 1.305 MB / 492.8 MB, free: 11.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.852e-06/0.7642, allocations: 3.953 kB / 492.8 MB, free: 11.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00169/0.7659, allocations: 0.711 MB / 493.6 MB, free: 11.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/0.768, allocations: 336.4 kB / 493.9 MB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008711/0.7768, allocations: 3.984 MB / 497.9 MB, free: 6.812 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002119/0.7789, allocations: 1.718 MB / 499.6 MB, free: 5.066 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005425/0.7795, allocations: 87.42 kB / 499.7 MB, free: 4.98 MB / 378.7 MB Notification: Performance of SimCode: time 3.917e-06/0.7795, allocations: 0 / 499.7 MB, free: 4.98 MB / 378.7 MB Notification: Performance of Templates: time 0.05899/0.8385, allocations: 35.87 MB / 0.523 GB, free: 1.078 MB / 410.7 MB