Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.29/2.29, allocations: 234.9 MB / 250.5 MB, free: 9.684 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004526/0.0004525, allocations: 12 kB / 314.5 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3636, allocations: 54.86 MB / 369.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1839/0.5476, allocations: 90.85 MB / 460.2 MB, free: 1.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003234/0.548, allocations: 87.89 kB / 460.3 MB, free: 1.594 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1282/0.6761, allocations: 32.64 MB / 492.9 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.756e-06/0.6762, allocations: 0 / 492.9 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.68e-05/0.6763, allocations: 16 kB / 492.9 MB, free: 0.5781 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.004998/0.6813, allocations: 1.284 MB / 494.2 MB, free: 15.24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.6814, allocations: 12.02 kB / 494.2 MB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005253/0.6819, allocations: 185.8 kB / 494.4 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01076/0.6927, allocations: 1.029 MB / 495.5 MB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.6942, allocations: 0.5121 MB / 496 MB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.6943, allocations: 98.45 kB / 496.1 MB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003531/0.6947, allocations: 119.9 kB / 496.2 MB, free: 13.24 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003737/0.6984, allocations: 1.157 MB / 497.3 MB, free: 12.06 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.674e-05/0.6986, allocations: 4 kB / 497.3 MB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002043/0.6988, allocations: 48 kB / 497.4 MB, free: 12.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.975e-05/0.6988, allocations: 35.95 kB / 497.4 MB, free: 11.97 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004589/0.7034, allocations: 1.446 MB / 498.9 MB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01374/0.7172, allocations: 4.853 MB / 0.4919 GB, free: 5.352 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003342/0.7206, allocations: 1.184 MB / 0.4931 GB, free: 4.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002129/0.7209, allocations: 106.1 kB / 0.4932 GB, free: 3.969 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.7209, allocations: 47.56 kB / 0.4932 GB, free: 3.914 MB / 426.7 MB Notification: Performance of pre-optimization done (n=91): time 3.687e-06/0.721, allocations: 0 / 0.4932 GB, free: 3.914 MB / 426.7 MB Notification: Performance of matching and sorting (n=91): time 0.003894/0.7249, allocations: 1.196 MB / 0.4944 GB, free: 2.668 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.725, allocations: 60.41 kB / 0.4944 GB, free: 2.598 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.7265, allocations: 0.687 MB / 0.4951 GB, free: 1.906 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000183/0.7267, allocations: 41.7 kB / 0.4952 GB, free: 1.859 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004289/0.7271, allocations: 497.2 kB / 0.4956 GB, free: 1.367 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004222/0.7276, allocations: 311.5 kB / 0.4959 GB, free: 1.059 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.7277, allocations: 24 kB / 0.4959 GB, free: 1.035 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.7279, allocations: 350.8 kB / 0.4963 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.7291, allocations: 338.5 kB / 0.4966 GB, free: 364 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3101/1.039, allocations: 0.5966 MB / 0.4972 GB, free: 106.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/1.041, allocations: 431.4 kB / 0.4976 GB, free: 106.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-05/1.041, allocations: 2.031 kB / 0.4976 GB, free: 106.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003883/1.045, allocations: 1.12 MB / 0.4987 GB, free: 106.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/1.045, allocations: 8.5 kB / 0.4987 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.138e-05/1.045, allocations: 8.188 kB / 0.4987 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004595/1.045, allocations: 69.41 kB / 0.4988 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/1.048, allocations: 262.4 kB / 0.499 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/1.05, allocations: 2.641 MB / 0.5016 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/1.052, allocations: 156.5 kB / 0.5018 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/1.052, allocations: 48.28 kB / 0.5018 GB, free: 103.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (141): * Single equations (assignments): 139 * 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%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005613/1.052, allocations: 252.4 kB / 0.502 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/1.052, allocations: 85.91 kB / 0.5021 GB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002889/1.055, allocations: 1.115 MB / 0.5032 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/1.055, allocations: 7.719 kB / 0.5032 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/1.055, allocations: 0.6562 kB / 0.5032 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.925e-05/1.055, allocations: 4.5 kB / 0.5032 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005267/1.061, allocations: 2.71 MB / 0.5059 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/1.061, allocations: 7.75 kB / 0.5059 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/1.062, allocations: 184 kB / 0.5061 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003297/1.062, allocations: 66.06 kB / 0.5061 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.731e-05/1.063, allocations: 31.47 kB / 0.5061 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002003/1.065, allocations: 2.633 MB / 0.5087 GB, free: 99.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/1.065, allocations: 11.5 kB / 0.5087 GB, free: 99.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003388/1.068, allocations: 1.765 MB / 0.5105 GB, free: 98.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003291/1.068, allocations: 209.5 kB / 0.5107 GB, free: 98.85 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/1.069, allocations: 28.56 kB / 0.5107 GB, free: 98.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/1.07, allocations: 57.98 kB / 0.5107 GB, free: 98.85 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000196/1.07, allocations: 86.06 kB / 0.5108 GB, free: 98.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.994e-05/1.07, allocations: 35.45 kB / 0.5109 GB, free: 98.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009334/1.071, allocations: 0.537 MB / 0.5114 GB, free: 98.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.8e-07/1.071, allocations: 0 / 0.5114 GB, free: 98.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001336/1.072, allocations: 297.6 kB / 0.5117 GB, free: 98.74 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (variableAdmittance.pin_p.reference.gamma) * 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 (94): * Single equations (assignments): 92 * 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%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004003/1.076, allocations: 4.1 MB / 0.5157 GB, free: 95.67 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002906/1.079, allocations: 1.085 MB / 0.5167 GB, free: 95.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.536e-05/1.079, allocations: 0 / 0.5167 GB, free: 95.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002104/1.081, allocations: 0.6256 MB / 0.5173 GB, free: 95.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/1.083, allocations: 114.6 kB / 0.5174 GB, free: 95.19 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01596/1.099, allocations: 11.28 MB / 0.5285 GB, free: 87.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005274/1.099, allocations: 1.006 MB / 0.5294 GB, free: 86.99 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008867/1.1, allocations: 363.8 kB / 0.5298 GB, free: 86.88 MB / 426.7 MB Notification: Performance of SimCode: time 8.42e-07/1.1, allocations: 0 / 0.5298 GB, free: 86.88 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.926/4.026, allocations: 22.77 MB / 0.552 GB, free: 76.41 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat