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.SingularTransfomer.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Electrical.SingularTransfomer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|basicTransformer.i1|basicTransformer.i2",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Electrical.SingularTransfomer") Notification: Performance of loadModel(ModelicaTest): time 2.248/2.248, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.985e-05/1.99e-05, allocations: 4 kB / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2759, allocations: 54.85 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.403, allocations: 81.49 MB / 439.5 MB, free: 13.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/0.4033, allocations: 63.97 kB / 439.6 MB, free: 13.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01573/0.419, allocations: 3.847 MB / 443.4 MB, free: 9.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.259e-06/0.4191, allocations: 3.984 kB / 443.4 MB, free: 9.406 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.029e-05/0.4191, allocations: 4 kB / 443.4 MB, free: 9.402 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008135/0.4199, allocations: 490.2 kB / 443.9 MB, free: 8.875 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.42, allocations: 12.03 kB / 443.9 MB, free: 8.863 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.617e-05/0.4201, allocations: 23.72 kB / 443.9 MB, free: 8.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004342/0.4205, allocations: 247.1 kB / 444.2 MB, free: 8.559 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.4206, allocations: 8 kB / 444.2 MB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/0.4206, allocations: 12 kB / 444.2 MB, free: 8.539 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003353/0.421, allocations: 116.9 kB / 444.3 MB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003753/0.4213, allocations: 150.4 kB / 444.5 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.4214, allocations: 7.953 kB / 444.5 MB, free: 8.266 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.4214, allocations: 3.938 kB / 444.5 MB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.579e-06/0.4214, allocations: 4 kB / 444.5 MB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.4231, allocations: 0.7671 MB / 445.2 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.4234, allocations: 86.5 kB / 445.3 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.4235, allocations: 48.84 kB / 445.4 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.4235, allocations: 4 kB / 445.4 MB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.4235, allocations: 34.56 kB / 445.4 MB, free: 7.238 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 3.566e-06/0.4236, allocations: 0 / 445.4 MB, free: 7.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001824/0.4254, allocations: 0.5965 MB / 446 MB, free: 6.582 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.4255, allocations: 55.36 kB / 446.1 MB, free: 6.516 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.4257, allocations: 171 kB / 446.2 MB, free: 6.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.4258, allocations: 33.69 kB / 446.3 MB, free: 6.301 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.4259, allocations: 230.4 kB / 446.5 MB, free: 6.074 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.608e-05/0.426, allocations: 51.2 kB / 446.5 MB, free: 6.023 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/0.426, allocations: 4 kB / 446.5 MB, free: 6.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.4262, allocations: 318.8 kB / 446.9 MB, free: 5.699 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.4263, allocations: 48 kB / 446.9 MB, free: 5.652 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.4265, allocations: 89.08 kB / 447 MB, free: 5.547 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.4267, allocations: 58.03 kB / 447 MB, free: 5.492 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.53e-06/0.4267, allocations: 0 / 447 MB, free: 5.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006111/0.4273, allocations: 234.1 kB / 447.3 MB, free: 5.254 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.4274, allocations: 5.094 kB / 447.3 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.649e-06/0.4274, allocations: 4.219 kB / 447.3 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003213/0.4277, allocations: 69.84 kB / 447.4 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.428, allocations: 35.86 kB / 447.4 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003032/0.431, allocations: 2.689 MB / 450.1 MB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.4313, allocations: 8.031 kB / 450.1 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.4313, allocations: 11.98 kB / 450.1 MB, free: 2.199 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * 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: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.4315, allocations: 112.9 kB / 450.2 MB, free: 2.082 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.509e-05/0.4315, allocations: 15.81 kB / 450.2 MB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.548e-05/0.4316, allocations: 22.03 kB / 450.2 MB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.4316, allocations: 384 / 450.2 MB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.138e-06/0.4317, allocations: 4 kB / 450.2 MB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.13e-06/0.4317, allocations: 3.984 kB / 450.2 MB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003982/0.4321, allocations: 242 kB / 450.5 MB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.951e-06/0.4321, allocations: 3.938 kB / 450.5 MB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.4323, allocations: 23.98 kB / 450.5 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002966/0.4326, allocations: 65.67 kB / 450.6 MB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.4326, allocations: 0 / 450.6 MB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002972/0.4356, allocations: 2.673 MB / 453.3 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.346e-06/0.4356, allocations: 4.125 kB / 453.3 MB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000726/0.4364, allocations: 351.5 kB / 453.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.84e-05/0.4365, allocations: 92.95 kB / 453.7 MB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.887e-05/0.4365, allocations: 7.938 kB / 453.7 MB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/0.4368, allocations: 16.06 kB / 453.7 MB, free: 14.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.665e-05/0.4369, allocations: 15.97 kB / 453.7 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.4369, allocations: 4 kB / 453.7 MB, free: 14.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001763/0.4371, allocations: 147.1 kB / 453.9 MB, free: 14.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.4371, allocations: 0 / 453.9 MB, free: 14.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005169/0.4377, allocations: 56 kB / 453.9 MB, free: 14.05 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001624/0.4378, allocations: 99.25 kB / 454 MB, free: 13.94 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007604/0.4386, allocations: 359.4 kB / 454.4 MB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.4386, allocations: 0 / 454.4 MB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000527/0.4392, allocations: 307.6 kB / 454.7 MB, free: 13.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.4395, allocations: 20.17 kB / 454.7 MB, free: 13.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.4406, allocations: 359.2 kB / 455 MB, free: 12.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/0.4411, allocations: 0.7516 MB / 455.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.135e-05/0.4412, allocations: 19.42 kB / 455.8 MB, free: 12.05 MB / 394.7 MB Notification: Performance of SimCode: time 1.852e-06/0.4412, allocations: 0 / 455.8 MB, free: 12.05 MB / 394.7 MB Notification: Performance of Templates: time 0.008336/0.4495, allocations: 4.254 MB / 460.1 MB, free: 7.789 MB / 394.7 MB