Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.721/2.721, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.204e-05/3.218e-05, allocations: 3.938 kB / 309.8 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.404, allocations: 54.84 MB / 364.6 MB, free: 5.406 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.174/0.578, allocations: 82.15 MB / 446.8 MB, free: 14.23 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.5782, allocations: 63.97 kB / 446.8 MB, free: 14.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0171/0.5954, allocations: 3.883 MB / 450.7 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.5954, allocations: 0 / 450.7 MB, free: 10.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.106e-05/0.5955, allocations: 8 kB / 450.7 MB, free: 10.29 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.001015/0.5965, allocations: 494.9 kB / 451.2 MB, free: 9.758 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.5966, allocations: 12.03 kB / 451.2 MB, free: 9.746 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.482e-05/0.5967, allocations: 58.55 kB / 451.3 MB, free: 9.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.012e-05/0.5968, allocations: 27.72 kB / 451.3 MB, free: 9.652 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004685/0.5972, allocations: 243 kB / 451.5 MB, free: 9.371 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.5973, allocations: 16.44 kB / 451.6 MB, free: 9.355 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.136e-05/0.5974, allocations: 16 kB / 451.6 MB, free: 9.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005057/0.5979, allocations: 183.9 kB / 451.8 MB, free: 9.156 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.5979, allocations: 3.953 kB / 451.8 MB, free: 9.152 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.824e-05/0.598, allocations: 12 kB / 451.8 MB, free: 9.141 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.598, allocations: 4 kB / 451.8 MB, free: 9.137 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003892/0.5984, allocations: 129.7 kB / 451.9 MB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002158/0.6005, allocations: 0.8156 MB / 452.7 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.6009, allocations: 95.23 kB / 452.8 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.601, allocations: 40.86 kB / 452.8 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.601, allocations: 0 / 452.8 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.6011, allocations: 34.56 kB / 452.9 MB, free: 7.934 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.813e-06/0.6011, allocations: 4 kB / 452.9 MB, free: 7.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.002263/0.6034, allocations: 0.6501 MB / 453.5 MB, free: 7.223 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.6034, allocations: 51.41 kB / 453.6 MB, free: 7.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.6037, allocations: 187 kB / 453.8 MB, free: 6.969 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.6038, allocations: 36.88 kB / 453.8 MB, free: 6.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.6039, allocations: 222.2 kB / 454 MB, free: 6.711 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.001e-05/0.604, allocations: 55.91 kB / 454.1 MB, free: 6.656 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.64e-05/0.6041, allocations: 4 kB / 454.1 MB, free: 6.652 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.6042, allocations: 318.8 kB / 454.4 MB, free: 6.332 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.6044, allocations: 55.94 kB / 454.4 MB, free: 6.277 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.6046, allocations: 97.08 kB / 454.5 MB, free: 6.164 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.6048, allocations: 63.91 kB / 454.6 MB, free: 6.102 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6048, allocations: 4 kB / 454.6 MB, free: 6.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007421/0.6056, allocations: 247.1 kB / 454.8 MB, free: 5.848 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.6056, allocations: 4 kB / 454.8 MB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.6057, allocations: 4 kB / 454.9 MB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003809/0.606, allocations: 77.83 kB / 454.9 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.6064, allocations: 31.92 kB / 455 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003239/0.6096, allocations: 2.812 MB / 457.8 MB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003064/0.61, allocations: 12.03 kB / 457.8 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.61, allocations: 8 kB / 457.8 MB, free: 2.621 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.0001448/0.6102, allocations: 116.9 kB / 457.9 MB, free: 2.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.639e-05/0.6102, allocations: 19.81 kB / 457.9 MB, free: 2.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.258e-05/0.6103, allocations: 25.64 kB / 458 MB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.6103, allocations: 8.391 kB / 458 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.6104, allocations: 0 / 458 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.6104, allocations: 4 kB / 458 MB, free: 2.445 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004671/0.6109, allocations: 277.5 kB / 458.2 MB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6109, allocations: 3.938 kB / 458.2 MB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.6111, allocations: 23.98 kB / 458.3 MB, free: 2.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003364/0.6114, allocations: 69.61 kB / 458.3 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.6115, allocations: 4 kB / 458.3 MB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003238/0.6147, allocations: 2.793 MB / 461.1 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.6148, allocations: 224 / 461.1 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008495/0.6156, allocations: 364.9 kB / 461.5 MB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.764e-05/0.6157, allocations: 96.8 kB / 461.6 MB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.774e-05/0.6158, allocations: 11.98 kB / 461.6 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003638/0.6162, allocations: 24.05 kB / 461.6 MB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.603e-05/0.6163, allocations: 11.98 kB / 461.6 MB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.6163, allocations: 7.953 kB / 461.6 MB, free: 14.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002121/0.6165, allocations: 149.5 kB / 461.8 MB, free: 14.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6165, allocations: 0 / 461.8 MB, free: 14.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000519/0.6171, allocations: 64 kB / 461.8 MB, free: 14.21 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.002201/0.6193, allocations: 0.8973 MB / 462.7 MB, free: 13.28 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.6204, allocations: 385.3 kB / 463.1 MB, free: 12.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.6205, allocations: 0 / 463.1 MB, free: 12.88 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006479/0.6211, allocations: 313 kB / 463.4 MB, free: 12.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.6216, allocations: 24.64 kB / 463.4 MB, free: 12.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.6232, allocations: 432.9 kB / 463.9 MB, free: 12.06 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005026/0.6238, allocations: 0.7557 MB / 464.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.624, allocations: 71.41 kB / 464.7 MB, free: 11.2 MB / 394.7 MB Notification: Performance of SimCode: time 1.693e-06/0.624, allocations: 0 / 464.7 MB, free: 11.2 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.782/3.406, allocations: 5.376 MB / 470.1 MB, free: 5.832 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Electrical.SingularTransfomer_res.mat does not exist to compare? outputFormat=mat