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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.46/2.46, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.813e-05/1.812e-05, allocations: 0 / 303.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3368, allocations: 54.84 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1791/0.5159, allocations: 81.48 MB / 439.6 MB, free: 13.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.5163, allocations: 71.89 kB / 439.7 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01707/0.5333, allocations: 3.832 MB / 443.5 MB, free: 9.414 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5334, allocations: 0 / 443.5 MB, free: 9.414 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.053e-05/0.5334, allocations: 4 kB / 443.5 MB, free: 9.41 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.001017/0.5345, allocations: 0.4904 MB / 444 MB, free: 8.871 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.5345, allocations: 12.03 kB / 444 MB, free: 8.859 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.892e-05/0.5346, allocations: 23.72 kB / 444 MB, free: 8.836 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004643/0.5351, allocations: 247 kB / 444.3 MB, free: 8.555 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.5351, allocations: 8 kB / 444.3 MB, free: 8.547 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.38e-05/0.5352, allocations: 15.91 kB / 444.3 MB, free: 8.531 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003782/0.5356, allocations: 116.9 kB / 444.4 MB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004056/0.536, allocations: 146.5 kB / 444.6 MB, free: 8.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.5361, allocations: 11.94 kB / 444.6 MB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.5361, allocations: 0 / 444.6 MB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.5361, allocations: 8 kB / 444.6 MB, free: 8.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001935/0.5381, allocations: 0.7632 MB / 445.3 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.5383, allocations: 78.58 kB / 445.4 MB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.5385, allocations: 40.84 kB / 445.5 MB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.5385, allocations: 11.98 kB / 445.5 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.5385, allocations: 34.97 kB / 445.5 MB, free: 7.242 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 8.857e-06/0.5386, allocations: 3.938 kB / 445.5 MB, free: 7.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.002032/0.5406, allocations: 0.6002 MB / 446.1 MB, free: 6.578 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.5407, allocations: 59.34 kB / 446.2 MB, free: 6.508 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.5409, allocations: 171 kB / 446.3 MB, free: 6.332 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.541, allocations: 25.7 kB / 446.4 MB, free: 6.301 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.5412, allocations: 230.4 kB / 446.6 MB, free: 6.074 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.982e-05/0.5412, allocations: 55.2 kB / 446.6 MB, free: 6.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.379e-05/0.5413, allocations: 4 kB / 446.6 MB, free: 6.016 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.5414, allocations: 322.8 kB / 447 MB, free: 5.691 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.5416, allocations: 44 kB / 447 MB, free: 5.648 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.5418, allocations: 99.19 kB / 447.1 MB, free: 5.535 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.542, allocations: 54.05 kB / 447.1 MB, free: 5.484 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/0.542, allocations: 4 kB / 447.1 MB, free: 5.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007157/0.5427, allocations: 223 kB / 447.4 MB, free: 5.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.5427, allocations: 7.938 kB / 447.4 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.5428, allocations: 4 kB / 447.4 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003621/0.5431, allocations: 69.83 kB / 447.4 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.5435, allocations: 35.97 kB / 447.5 MB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003089/0.5466, allocations: 2.685 MB / 450.2 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.5469, allocations: 8.031 kB / 450.2 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.5469, allocations: 11.92 kB / 450.2 MB, free: 2.195 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.0001373/0.5471, allocations: 111.9 kB / 450.3 MB, free: 2.082 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005582/0.5477, allocations: 192.8 kB / 450.5 MB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.066e-05/0.5477, allocations: 15.81 kB / 450.5 MB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.018e-05/0.5478, allocations: 17.97 kB / 450.5 MB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.5478, allocations: 0 / 450.5 MB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.5479, allocations: 8.078 kB / 450.5 MB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.5479, allocations: 7.969 kB / 450.5 MB, free: 1.836 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000411/0.5483, allocations: 242 kB / 450.8 MB, free: 1.562 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.5483, allocations: 0 / 450.8 MB, free: 1.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.5485, allocations: 19.98 kB / 450.8 MB, free: 1.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003323/0.5489, allocations: 69.86 kB / 450.9 MB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.5489, allocations: 4 kB / 450.9 MB, free: 1.465 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003053/0.552, allocations: 2.67 MB / 453.5 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.552, allocations: 0 / 453.5 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007704/0.5528, allocations: 342.6 kB / 453.9 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.561e-05/0.5529, allocations: 104.9 kB / 454 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-05/0.553, allocations: 19.88 kB / 454 MB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/0.5533, allocations: 19.98 kB / 454 MB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.285e-05/0.5534, allocations: 11.97 kB / 454 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.5534, allocations: 4 kB / 454 MB, free: 14.04 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001829/0.5536, allocations: 143.1 kB / 454.2 MB, free: 13.89 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5536, allocations: 0 / 454.2 MB, free: 13.89 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005342/0.5542, allocations: 60 kB / 454.2 MB, free: 13.84 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.001183/0.5554, allocations: 0.8674 MB / 455.1 MB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008237/0.5562, allocations: 371.3 kB / 455.4 MB, free: 12.55 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5563, allocations: 0 / 455.4 MB, free: 12.55 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005488/0.5568, allocations: 297.3 kB / 455.7 MB, free: 12.24 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.5572, allocations: 24.14 kB / 455.8 MB, free: 12.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.5587, allocations: 412.6 kB / 456.2 MB, free: 11.77 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.5591, allocations: 0.7516 MB / 456.9 MB, free: 10.99 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.5593, allocations: 71.41 kB / 457 MB, free: 10.92 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5593, allocations: 0 / 457 MB, free: 10.92 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.793/3.353, allocations: 5.251 MB / 462.2 MB, free: 5.668 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