Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01131/0.01131, allocations: 110.8 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001298/0.001297, allocations: 177.5 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.936/1.936, allocations: 194.6 MB / 211.3 MB, free: 11 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2638/0.2638, allocations: 40.04 MB / 296.5 MB, free: 6.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004711/0.0004712, allocations: 12 kB / 361.1 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1137, allocations: 54.88 MB / 416 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003461/0.1173, allocations: 2.052 MB / 418.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.1188, allocations: 0.621 MB / 418.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001931/0.1191, allocations: 8 kB / 418.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 8.235e-05/0.1192, allocations: 27.81 kB / 418.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000275/0.1194, allocations: 83.75 kB / 418.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002699/0.1197, allocations: 51.88 kB / 418.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003892/0.1201, allocations: 191.6 kB / 419 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002268/0.1204, allocations: 76.55 kB / 419.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.1206, allocations: 95.64 kB / 419.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.1208, allocations: 99.59 kB / 419.3 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.393e-05/0.1209, allocations: 15.83 kB / 419.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.807e-05/0.121, allocations: 12 kB / 419.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.779e-05/0.121, allocations: 43.83 kB / 419.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.5e-05/0.1211, allocations: 69.58 kB / 419.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.1214, allocations: 195.7 kB / 419.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1214, allocations: 4 kB / 419.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1215, allocations: 0 / 419.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.1215, allocations: 3.938 kB / 419.6 MB, free: 14.9 MB / 362.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.0009911/0.1225, allocations: 0.5067 MB / 420.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.1225, allocations: 8.031 kB / 420.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.88e-05/0.1226, allocations: 54.55 kB / 420.2 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.504e-05/0.1227, allocations: 23.72 kB / 420.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.1231, allocations: 243.4 kB / 420.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.1231, allocations: 16.44 kB / 420.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.028e-05/0.1232, allocations: 23.95 kB / 420.5 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005578/0.1238, allocations: 191.3 kB / 420.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.1238, allocations: 0 / 420.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.651e-05/0.1238, allocations: 8 kB / 420.7 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.1239, allocations: 12 kB / 420.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004773/0.1244, allocations: 137.7 kB / 420.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.1264, allocations: 0.8181 MB / 421.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003271/0.1267, allocations: 102.5 kB / 421.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.1268, allocations: 192 / 421.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.1268, allocations: 42.45 kB / 421.8 MB, free: 12.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.813e-06/0.1268, allocations: 4 kB / 421.8 MB, free: 12.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.002823/0.1297, allocations: 0.7408 MB / 422.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.1297, allocations: 51.41 kB / 422.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/0.1301, allocations: 211.7 kB / 422.8 MB, free: 11.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.1301, allocations: 33.7 kB / 422.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.1303, allocations: 175.8 kB / 423 MB, free: 11.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.357e-05/0.1303, allocations: 51.2 kB / 423.1 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.474e-05/0.1304, allocations: 0 / 423.1 MB, free: 11.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1305, allocations: 330.8 kB / 423.4 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/0.1308, allocations: 59.97 kB / 423.4 MB, free: 10.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002823/0.1311, allocations: 113.7 kB / 423.6 MB, free: 10.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.1314, allocations: 83.94 kB / 423.6 MB, free: 10.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1314, allocations: 3.938 kB / 423.6 MB, free: 10.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009469/0.1324, allocations: 282.5 kB / 423.9 MB, free: 10.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.1324, allocations: 14.75 kB / 423.9 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/0.1324, allocations: 0 / 423.9 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003794/0.1328, allocations: 73.62 kB / 424 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.1331, allocations: 31.92 kB / 424 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003158/0.1363, allocations: 2.832 MB / 426.9 MB, free: 7.078 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.1366, allocations: 16.02 kB / 426.9 MB, free: 7.062 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.1367, allocations: 4 kB / 426.9 MB, free: 7.059 MB / 362.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.0001985/0.1369, allocations: 145.8 kB / 427 MB, free: 6.906 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.051e-05/0.137, allocations: 23.77 kB / 427.1 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.573e-05/0.137, allocations: 25.86 kB / 427.1 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.137, allocations: 0 / 427.1 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.1371, allocations: 0 / 427.1 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1371, allocations: 4 kB / 427.1 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004323/0.1375, allocations: 281.5 kB / 427.4 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.1375, allocations: 0 / 427.4 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.1377, allocations: 23.98 kB / 427.4 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003378/0.1381, allocations: 69.61 kB / 427.5 MB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.1381, allocations: 7.953 kB / 427.5 MB, free: 6.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003051/0.1412, allocations: 2.816 MB / 430.3 MB, free: 3.336 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.1412, allocations: 0 / 430.3 MB, free: 3.336 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.1423, allocations: 404.8 kB / 430.7 MB, free: 2.918 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.458e-05/0.1424, allocations: 92.86 kB / 430.8 MB, free: 2.809 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.372e-05/0.1424, allocations: 8 kB / 430.8 MB, free: 2.801 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003235/0.1428, allocations: 24 kB / 430.8 MB, free: 2.777 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.262e-05/0.1429, allocations: 19.97 kB / 430.8 MB, free: 2.758 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.1429, allocations: 4 kB / 430.8 MB, free: 2.754 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001898/0.1431, allocations: 148.2 kB / 431 MB, free: 2.609 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.1431, allocations: 0 / 431 MB, free: 2.609 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005163/0.1437, allocations: 64 kB / 431 MB, free: 2.547 MB / 362.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.001373/0.145, allocations: 0.9366 MB / 432 MB, free: 1.578 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.1461, allocations: 425.2 kB / 432.4 MB, free: 1.137 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1461, allocations: 0 / 432.4 MB, free: 1.137 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000696/0.1468, allocations: 329.2 kB / 432.7 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.1473, allocations: 40.06 kB / 432.7 MB, free: 0.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003793/0.1511, allocations: 2.145 MB / 434.9 MB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.1515, allocations: 0.7518 MB / 435.6 MB, free: 13.76 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001778/0.1517, allocations: 21.94 kB / 435.7 MB, free: 13.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.1518, allocations: 67.41 kB / 435.7 MB, free: 13.67 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1519, allocations: 0 / 435.7 MB, free: 13.67 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03161/0.1835, allocations: 4.395 MB / 440.1 MB, free: 9.344 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002738/0.1838, allocations: 199.2 kB / 440.3 MB, free: 9.102 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.5/2.683, allocations: 0 / 440.3 MB, free: 9.102 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer_res.mat does not exist to compare? outputFormat=mat