Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.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.949/1.949, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003762, allocations: 8 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09615/0.09656, allocations: 44.51 MB / 309 MB, free: 1.035 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4329/0.5295, allocations: 84.27 MB / 393.2 MB, free: 14.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003931/0.53, allocations: 91.19 kB / 393.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2775/0.8076, allocations: 56.41 MB / 449.7 MB, free: 4.648 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.8076, allocations: 0 / 449.7 MB, free: 4.648 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000168/0.8078, allocations: 51.94 kB / 449.8 MB, free: 4.598 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.006848/0.8147, allocations: 2.013 MB / 451.8 MB, free: 2.535 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.8147, allocations: 8.031 kB / 451.8 MB, free: 2.527 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001853/0.8166, allocations: 261.3 kB / 452.1 MB, free: 2.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004466/0.8211, allocations: 1.309 MB / 453.4 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001935/0.8214, allocations: 135.3 kB / 453.5 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007333/0.8221, allocations: 168 kB / 453.7 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008597/0.8307, allocations: 2.511 MB / 456.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.977e-05/0.8309, allocations: 0 / 456.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003137/0.8312, allocations: 76 kB / 456.3 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000174/0.8314, allocations: 95.58 kB / 456.4 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007015/0.8384, allocations: 1.962 MB / 458.3 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02072/0.8592, allocations: 6.914 MB / 465.2 MB, free: 4.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003889/0.8631, allocations: 2.137 MB / 467.4 MB, free: 2.566 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004779/0.8637, allocations: 133.7 kB / 467.5 MB, free: 2.418 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/0.8637, allocations: 43.22 kB / 467.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of pre-optimization done (n=82): time 3.777e-06/0.8638, allocations: 4 kB / 467.5 MB, free: 2.363 MB / 346.7 MB Notification: Performance of matching and sorting (n=88): time 0.01123/0.875, allocations: 3.28 MB / 470.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.414e-05/0.8751, allocations: 94.06 kB / 470.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003174/0.8783, allocations: 1.203 MB / 472.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002636/0.8786, allocations: 41.7 kB / 472.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000804/0.8794, allocations: 0.789 MB / 473 MB, free: 12.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005169/0.88, allocations: 295.4 kB / 473.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.8801, allocations: 20 kB / 473.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.8803, allocations: 350.8 kB / 473.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/0.8818, allocations: 497.7 kB / 474.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/0.8834, allocations: 0.6652 MB / 474.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/0.8851, allocations: 0.6042 MB / 475.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.8851, allocations: 0 / 475.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.003923/0.8891, allocations: 1.361 MB / 476.7 MB, free: 9.004 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.161e-05/0.8891, allocations: 8 kB / 476.7 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/0.8892, allocations: 8 kB / 476.7 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006597/0.8898, allocations: 116.8 kB / 476.9 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001987/0.8918, allocations: 231.7 kB / 477.1 MB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003478/0.8953, allocations: 2.158 MB / 479.2 MB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.8969, allocations: 35.98 kB / 479.3 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/0.897, allocations: 39.98 kB / 479.3 MB, free: 6.277 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.001844/0.8989, allocations: 0.6653 MB / 480 MB, free: 5.602 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005132/0.8994, allocations: 126.6 kB / 480.1 MB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003868/0.9033, allocations: 1.28 MB / 481.4 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.982e-05/0.9034, allocations: 8 kB / 481.4 MB, free: 4.176 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.9034, allocations: 0 / 481.4 MB, free: 4.176 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/0.9034, allocations: 11.94 kB / 481.4 MB, free: 4.164 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009756/0.9132, allocations: 3.208 MB / 484.6 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.9133, allocations: 0 / 484.6 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/0.9149, allocations: 183.8 kB / 484.8 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006373/0.9156, allocations: 104.8 kB / 484.9 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001564/0.9157, allocations: 19.98 kB / 484.9 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00452/0.9203, allocations: 3.427 MB / 488.3 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.9203, allocations: 3.953 kB / 488.3 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005518/0.9259, allocations: 1.978 MB / 490.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/0.9271, allocations: 319.6 kB / 490.6 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004829/0.9277, allocations: 16 kB / 490.6 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/0.9291, allocations: 60.03 kB / 490.7 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000287/0.9294, allocations: 60.91 kB / 490.8 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.9295, allocations: 27.98 kB / 490.8 MB, free: 10.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002332/0.9319, allocations: 0.8538 MB / 491.6 MB, free: 9.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.625e-06/0.9319, allocations: 0 / 491.6 MB, free: 9.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002108/0.934, allocations: 367.9 kB / 492 MB, free: 9.211 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.0005219/0.9346, allocations: 189.8 kB / 492.2 MB, free: 9.027 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003501/0.9381, allocations: 1.308 MB / 493.5 MB, free: 7.703 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.9382, allocations: 0 / 493.5 MB, free: 7.703 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002142/0.9403, allocations: 0.7157 MB / 494.2 MB, free: 6.977 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003125/0.9435, allocations: 340.6 kB / 494.5 MB, free: 6.645 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.9546, allocations: 3.989 MB / 498.5 MB, free: 2.617 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002836/0.9575, allocations: 1.718 MB / 0.4885 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007316/0.9583, allocations: 95.36 kB / 0.4886 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of SimCode: time 1.543e-06/0.9583, allocations: 0 / 0.4886 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of Templates: time 0.3762/1.335, allocations: 35.86 MB / 0.5236 GB, free: 105.1 MB / 410.7 MB