Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01108/0.01109, allocations: 107.7 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.1.mo): time 0.001192/0.001192, allocations: 166.8 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.611/1.611, allocations: 170.9 MB / 187.6 MB, free: 0.9961 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.248/0.248, allocations: 38.08 MB / 265.1 MB, free: 3.977 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004497/0.0004497, allocations: 12 kB / 323.6 MB, free: 29.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08708/0.08755, allocations: 48.72 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003328/0.09092, allocations: 2.041 MB / 374.3 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.09217, allocations: 0.5968 MB / 374.9 MB, free: 10.21 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.09231, allocations: 4 kB / 374.9 MB, free: 10.2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.326e-05/0.0924, allocations: 31.75 kB / 375 MB, free: 10.17 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002566/0.09267, allocations: 91.67 kB / 375.1 MB, free: 10.08 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.09294, allocations: 47.95 kB / 375.1 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003513/0.0933, allocations: 199.6 kB / 375.3 MB, free: 9.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.0935, allocations: 64.78 kB / 375.4 MB, free: 9.777 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.09371, allocations: 107.6 kB / 375.5 MB, free: 9.672 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.09392, allocations: 99.53 kB / 375.6 MB, free: 9.574 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.319e-05/0.09398, allocations: 12 kB / 375.6 MB, free: 9.562 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.521e-05/0.09405, allocations: 12 kB / 375.6 MB, free: 9.551 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.192e-05/0.09411, allocations: 39.84 kB / 375.6 MB, free: 9.512 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.348e-05/0.09419, allocations: 69.58 kB / 375.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.09449, allocations: 207.6 kB / 375.9 MB, free: 9.234 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.09451, allocations: 0 / 375.9 MB, free: 9.234 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.09452, allocations: 0 / 375.9 MB, free: 9.234 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.09454, allocations: 0 / 375.9 MB, free: 9.234 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0009175/0.09546, allocations: 0.495 MB / 376.4 MB, free: 8.691 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.09552, allocations: 12.03 kB / 376.4 MB, free: 8.68 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.434e-05/0.09561, allocations: 54.53 kB / 376.5 MB, free: 8.617 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.181e-05/0.09569, allocations: 31.62 kB / 376.5 MB, free: 8.586 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.09605, allocations: 250.6 kB / 376.7 MB, free: 8.301 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.09609, allocations: 16.38 kB / 376.7 MB, free: 8.285 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.674e-05/0.09616, allocations: 20 kB / 376.8 MB, free: 8.266 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005199/0.09669, allocations: 187.3 kB / 376.9 MB, free: 8.078 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.09672, allocations: 0 / 376.9 MB, free: 8.078 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.09676, allocations: 11.94 kB / 377 MB, free: 8.066 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.09678, allocations: 4 kB / 377 MB, free: 8.062 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004734/0.09726, allocations: 153.7 kB / 377.1 MB, free: 7.914 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/0.0991, allocations: 0.8142 MB / 377.9 MB, free: 7.023 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.09939, allocations: 98.55 kB / 378 MB, free: 6.918 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.09942, allocations: 0 / 378 MB, free: 6.918 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.09946, allocations: 34.55 kB / 378.1 MB, free: 6.875 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.09947, allocations: 0 / 378.1 MB, free: 6.875 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.002621/0.1021, allocations: 0.7527 MB / 378.8 MB, free: 6.062 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.1022, allocations: 51.41 kB / 378.9 MB, free: 6 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.1025, allocations: 208 kB / 379.1 MB, free: 5.789 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.1025, allocations: 29.7 kB / 379.1 MB, free: 5.754 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.1027, allocations: 171.8 kB / 379.3 MB, free: 5.582 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.289e-05/0.1027, allocations: 51.2 kB / 379.3 MB, free: 5.531 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.801e-05/0.1028, allocations: 12.59 kB / 379.3 MB, free: 5.52 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1029, allocations: 338.8 kB / 379.7 MB, free: 5.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.1032, allocations: 59.97 kB / 379.7 MB, free: 5.121 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.1035, allocations: 117 kB / 379.8 MB, free: 4.988 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.1037, allocations: 75.98 kB / 379.9 MB, free: 4.914 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1038, allocations: 0 / 379.9 MB, free: 4.914 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008856/0.1047, allocations: 289.4 kB / 380.2 MB, free: 4.621 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.1047, allocations: 7.938 kB / 380.2 MB, free: 4.613 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.1047, allocations: 0 / 380.2 MB, free: 4.613 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003674/0.1051, allocations: 73.83 kB / 380.3 MB, free: 4.535 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.1054, allocations: 31.92 kB / 380.3 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00304/0.1084, allocations: 2.843 MB / 383.1 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.1087, allocations: 4 kB / 383.1 MB, free: 1.383 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.1088, allocations: 15.98 kB / 383.2 MB, free: 1.367 MB / 282.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.0001901/0.109, allocations: 137.7 kB / 383.3 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.508e-05/0.1091, allocations: 19.81 kB / 383.3 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.111e-05/0.1091, allocations: 21.88 kB / 383.3 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1091, allocations: 4.062 kB / 383.3 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.1092, allocations: 4 kB / 383.3 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.1092, allocations: 4.219 kB / 383.3 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.1096, allocations: 285.5 kB / 383.6 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1096, allocations: 3.938 kB / 383.6 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.1098, allocations: 15.98 kB / 383.6 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003137/0.1101, allocations: 69.66 kB / 383.7 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.1102, allocations: 11.98 kB / 383.7 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002911/0.1131, allocations: 2.816 MB / 386.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1131, allocations: 0 / 386.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.1142, allocations: 408.9 kB / 386.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.1143, allocations: 116.7 kB / 387 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/0.1144, allocations: 8 kB / 387.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/0.1147, allocations: 15.98 kB / 387.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.826e-05/0.1148, allocations: 15.98 kB / 387.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.1148, allocations: 4 kB / 387.1 MB, free: 13.06 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001946/0.115, allocations: 156.4 kB / 387.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.115, allocations: 4 kB / 387.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005129/0.1156, allocations: 64 kB / 387.3 MB, free: 12.84 MB / 298.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.001298/0.1169, allocations: 0.9341 MB / 388.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009468/0.1178, allocations: 417.1 kB / 388.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1179, allocations: 0 / 388.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000675/0.1185, allocations: 337.6 kB / 389 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.1189, allocations: 27.72 kB / 389 MB, free: 11.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003516/0.1224, allocations: 2.145 MB / 391.2 MB, free: 8.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.1228, allocations: 0.7518 MB / 391.9 MB, free: 8.062 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001585/0.123, allocations: 17.95 kB / 391.9 MB, free: 8.043 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.1232, allocations: 67.41 kB / 392 MB, free: 7.977 MB / 298.7 MB Notification: Performance of SimCode: time 3.446e-06/0.1232, allocations: 0 / 392 MB, free: 7.977 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03208/0.1553, allocations: 4.412 MB / 396.4 MB, free: 3.672 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003059/0.1556, allocations: 202.8 kB / 396.6 MB, free: 3.426 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.36/2.515, allocations: 4 kB / 396.6 MB, free: 3.422 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer_res.mat does not exist to compare? outputFormat=mat