Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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) Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.585/1.585, allocations: 171.1 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.0003482, allocations: 8 kB / 233.3 MB, free: 2.926 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09141/0.0918, allocations: 38.77 MB / 272.1 MB, free: 12.07 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3428/0.4347, allocations: 71.08 MB / 343.2 MB, free: 2.473 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.435, allocations: 77.02 kB / 343.3 MB, free: 2.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07745/0.5125, allocations: 18.83 MB / 362.1 MB, free: 2.441 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.5125, allocations: 0 / 362.1 MB, free: 2.441 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.668e-05/0.5126, allocations: 28 kB / 362.1 MB, free: 2.414 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.004048/0.5167, allocations: 1.461 MB / 363.6 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.5168, allocations: 12.03 kB / 363.6 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003565/0.5171, allocations: 178.5 kB / 363.8 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003371/0.5175, allocations: 142.3 kB / 363.9 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/0.5195, allocations: 0.8597 MB / 364.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.83e-05/0.5196, allocations: 83.61 kB / 364.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002709/0.5199, allocations: 112.2 kB / 365 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003668/0.5236, allocations: 1.501 MB / 366.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.656e-05/0.5237, allocations: 3.938 kB / 366.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/0.5239, allocations: 48.31 kB / 366.5 MB, free: 14.76 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.631e-05/0.5239, allocations: 24 kB / 366.5 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003231/0.5271, allocations: 1.228 MB / 367.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01005/0.5372, allocations: 4.26 MB / 372 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.539, allocations: 1.312 MB / 373.3 MB, free: 9.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.376e-05/0.539, allocations: 8.438 kB / 373.3 MB, free: 9.242 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.5391, allocations: 38.94 kB / 373.4 MB, free: 9.199 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 3.536e-06/0.5391, allocations: 0 / 373.4 MB, free: 9.199 MB / 298.7 MB Notification: Performance of matching and sorting (n=50): time 0.005223/0.5443, allocations: 1.964 MB / 375.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.5444, allocations: 59.83 kB / 375.4 MB, free: 7.566 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.5459, allocations: 0.7477 MB / 376.1 MB, free: 6.984 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.079e-05/0.546, allocations: 36.02 kB / 376.2 MB, free: 6.949 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004175/0.5465, allocations: 0.5609 MB / 376.7 MB, free: 6.504 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.5467, allocations: 173.6 kB / 376.9 MB, free: 6.355 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.33e-05/0.5467, allocations: 10.81 kB / 376.9 MB, free: 6.352 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.5469, allocations: 345.6 kB / 377.3 MB, free: 6.016 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007857/0.5477, allocations: 310.5 kB / 377.6 MB, free: 5.805 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009/0.5486, allocations: 406.8 kB / 378 MB, free: 5.375 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009314/0.5495, allocations: 374 kB / 378.3 MB, free: 5.016 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.5496, allocations: 0 / 378.3 MB, free: 5.016 MB / 298.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002263/0.5518, allocations: 0.8779 MB / 379.2 MB, free: 4.125 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.5519, allocations: 8.312 kB / 379.2 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.5519, allocations: 4 kB / 379.2 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004333/0.5524, allocations: 108.7 kB / 379.3 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00095/0.5533, allocations: 123.9 kB / 379.4 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00323/0.5566, allocations: 2.197 MB / 381.6 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007628/0.5574, allocations: 27.98 kB / 381.7 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-05/0.5574, allocations: 20.23 kB / 381.7 MB, free: 1.5 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (59): * Single equations (assignments): 58 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001014/0.5585, allocations: 453.5 kB / 382.1 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.5587, allocations: 71.16 kB / 382.2 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.5589, allocations: 99.06 kB / 382.3 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.559, allocations: 16.02 kB / 382.3 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.559, allocations: 0 / 382.3 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.559, allocations: 0 / 382.3 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005122/0.5641, allocations: 2.02 MB / 384.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.5642, allocations: 0 / 384.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006918/0.5649, allocations: 95.94 kB / 384.4 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003843/0.5653, allocations: 101 kB / 384.5 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.112e-05/0.5653, allocations: 15.98 kB / 384.5 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00311/0.5685, allocations: 2.154 MB / 386.7 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.5685, allocations: 3.938 kB / 386.7 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002943/0.5715, allocations: 1.231 MB / 387.9 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005555/0.5721, allocations: 228.1 kB / 388.1 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/0.5722, allocations: 8 kB / 388.2 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007276/0.573, allocations: 60 kB / 388.2 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.5731, allocations: 36.39 kB / 388.2 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.468e-05/0.5732, allocations: 15.98 kB / 388.3 MB, free: 10.64 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001215/0.5744, allocations: 0.5849 MB / 388.8 MB, free: 10.06 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5745, allocations: 0 / 388.8 MB, free: 10.06 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001107/0.5756, allocations: 212 kB / 389.1 MB, free: 9.852 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].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 (41): * Single equations (assignments): 40 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00338/0.579, allocations: 1.929 MB / 391 MB, free: 7.875 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00223/0.5812, allocations: 0.8404 MB / 391.8 MB, free: 7.016 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.5813, allocations: 0 / 391.8 MB, free: 7.016 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.5826, allocations: 489.4 kB / 392.3 MB, free: 6.527 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.584, allocations: 168.2 kB / 392.5 MB, free: 6.367 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01489/0.5989, allocations: 7.737 MB / 400.2 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/0.6003, allocations: 1.336 MB / 401.5 MB, free: 13.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008317/0.6011, allocations: 383.3 kB / 401.9 MB, free: 12.76 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6011, allocations: 0 / 401.9 MB, free: 12.76 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.872/3.473, allocations: 24.4 MB / 426.3 MB, free: 4.379 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat