Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Electrical.SingularTransfomer.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.992/1.992, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004757/0.0004759, allocations: 12 kB / 282.7 MB, free: 9.559 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3728, allocations: 48.7 MB / 331.4 MB, free: 6.535 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1352/0.5081, allocations: 76.01 MB / 407.4 MB, free: 2.391 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.5084, allocations: 63.97 kB / 407.4 MB, free: 2.328 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01705/0.5255, allocations: 3.938 MB / 411.4 MB, free: 14.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5255, allocations: 0 / 411.4 MB, free: 14.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.266e-05/0.5256, allocations: 12 kB / 411.4 MB, free: 14.37 MB / 346.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.001003/0.5266, allocations: 0.5086 MB / 411.9 MB, free: 13.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.5266, allocations: 12.03 kB / 411.9 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.555e-05/0.5267, allocations: 62.53 kB / 412 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.18e-05/0.5268, allocations: 31.62 kB / 412 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004315/0.5273, allocations: 251 kB / 412.2 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.5273, allocations: 16.44 kB / 412.2 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.315e-05/0.5274, allocations: 16 kB / 412.3 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005379/0.5279, allocations: 187.3 kB / 412.4 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.5279, allocations: 0 / 412.4 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/0.528, allocations: 12 kB / 412.5 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.528, allocations: 8 kB / 412.5 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004978/0.5285, allocations: 141.7 kB / 412.6 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001971/0.5305, allocations: 0.8207 MB / 413.4 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.5308, allocations: 94.55 kB / 413.5 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.5309, allocations: 4 kB / 413.5 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.5309, allocations: 38.75 kB / 413.6 MB, free: 12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 4.879e-06/0.5309, allocations: 0 / 413.6 MB, free: 12 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.002747/0.5337, allocations: 0.7492 MB / 414.3 MB, free: 11.19 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.5338, allocations: 55.34 kB / 414.4 MB, free: 11.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.5341, allocations: 194.1 kB / 414.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.5341, allocations: 29.7 kB / 414.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.5343, allocations: 226.3 kB / 414.8 MB, free: 10.67 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.908e-05/0.5344, allocations: 59.2 kB / 414.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.716e-05/0.5344, allocations: 4 kB / 414.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.5345, allocations: 322.8 kB / 415.2 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.5348, allocations: 63.97 kB / 415.2 MB, free: 10.22 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/0.5351, allocations: 109.1 kB / 415.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.5354, allocations: 71.98 kB / 415.4 MB, free: 10.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5354, allocations: 0 / 415.4 MB, free: 10.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009074/0.5363, allocations: 278 kB / 415.7 MB, free: 9.742 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.5363, allocations: 8 kB / 415.7 MB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.5364, allocations: 8.156 kB / 415.7 MB, free: 9.727 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003801/0.5367, allocations: 73.61 kB / 415.8 MB, free: 9.648 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.5371, allocations: 35.97 kB / 415.8 MB, free: 9.613 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003213/0.5403, allocations: 2.824 MB / 418.6 MB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002789/0.5406, allocations: 12.25 kB / 418.6 MB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.5406, allocations: 7.984 kB / 418.7 MB, free: 6.504 MB / 346.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 () * Number of clocked 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.0002186/0.5409, allocations: 149.7 kB / 418.8 MB, free: 6.348 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.965e-05/0.541, allocations: 23.81 kB / 418.8 MB, free: 6.324 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.766e-05/0.541, allocations: 21.88 kB / 418.8 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.541, allocations: 3.984 kB / 418.9 MB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.5411, allocations: 4 kB / 418.9 MB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.5411, allocations: 0 / 418.9 MB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004314/0.5415, allocations: 285.5 kB / 419.1 MB, free: 5.961 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.5415, allocations: 0 / 419.1 MB, free: 5.961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.5417, allocations: 16 kB / 419.1 MB, free: 5.945 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003282/0.542, allocations: 77.66 kB / 419.2 MB, free: 5.863 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.5421, allocations: 0 / 419.2 MB, free: 5.863 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003081/0.5452, allocations: 2.824 MB / 422 MB, free: 2.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5452, allocations: 0.6562 kB / 422 MB, free: 2.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.5463, allocations: 406.5 kB / 422.4 MB, free: 2.352 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.5465, allocations: 116.8 kB / 422.6 MB, free: 2.219 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/0.5465, allocations: 0 / 422.6 MB, free: 2.219 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.5468, allocations: 23.98 kB / 422.6 MB, free: 2.195 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.62e-05/0.5469, allocations: 12.05 kB / 422.6 MB, free: 2.184 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.547, allocations: 11.98 kB / 422.6 MB, free: 2.172 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002079/0.5472, allocations: 160.1 kB / 422.8 MB, free: 2.016 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5472, allocations: 0 / 422.8 MB, free: 2.016 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005125/0.5477, allocations: 64 kB / 422.8 MB, free: 1.953 MB / 346.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 () * Number of clocked 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.001425/0.5491, allocations: 0.9372 MB / 423.8 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.5502, allocations: 421.8 kB / 424.2 MB, free: 0.543 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5502, allocations: 320 / 424.2 MB, free: 0.543 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006674/0.5509, allocations: 337.2 kB / 424.5 MB, free: 192 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.5513, allocations: 23.98 kB / 424.5 MB, free: 168 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003694/0.555, allocations: 2.182 MB / 426.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.5554, allocations: 0.7518 MB / 427.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.5556, allocations: 71.41 kB / 427.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/0.5556, allocations: 4 kB / 427.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.759/3.315, allocations: 5.362 MB / 432.9 MB, free: 7.688 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Electrical.SingularTransfomer_res.mat does not exist to compare? outputFormat=mat