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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.495/2.495, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.279e-05/2.289e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3502, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1703/0.5206, allocations: 90.11 MB / 448.2 MB, free: 4.621 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/0.521, allocations: 79.95 kB / 448.3 MB, free: 4.543 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4276/0.9485, allocations: 32.13 MB / 480.4 MB, free: 89.22 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.9486, allocations: 0 / 480.4 MB, free: 89.22 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.696e-05/0.9487, allocations: 19.03 kB / 480.5 MB, free: 89.22 MB / 394.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.004637/0.9533, allocations: 1.234 MB / 481.7 MB, free: 88.58 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.9534, allocations: 15.38 kB / 481.7 MB, free: 88.58 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01029/0.9637, allocations: 1.016 MB / 482.7 MB, free: 88.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/0.9652, allocations: 0.5112 MB / 483.2 MB, free: 88.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.105e-05/0.9653, allocations: 38.03 kB / 483.3 MB, free: 88.22 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003004/0.9656, allocations: 76.38 kB / 483.4 MB, free: 88.21 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003661/0.9693, allocations: 1.303 MB / 484.7 MB, free: 88.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002827/0.9722, allocations: 0.8743 MB / 485.5 MB, free: 88.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.463e-05/0.9723, allocations: 10.64 kB / 485.5 MB, free: 88.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/0.9724, allocations: 3.953 kB / 485.5 MB, free: 88.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.091e-05/0.9725, allocations: 29.94 kB / 485.6 MB, free: 88.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01247/0.985, allocations: 4.594 MB / 490.2 MB, free: 85.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002671/0.9877, allocations: 1.115 MB / 491.3 MB, free: 84.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007874/0.9885, allocations: 320.5 kB / 491.6 MB, free: 84.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001979/0.9888, allocations: 103.5 kB / 491.7 MB, free: 84.29 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.9888, allocations: 43 kB / 491.7 MB, free: 84.24 MB / 394.7 MB Notification: Performance of pre-optimization done (n=91): time 4.138e-06/0.9888, allocations: 3.938 kB / 491.7 MB, free: 84.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=91): time 0.003076/0.9919, allocations: 0.8013 MB / 492.5 MB, free: 83.94 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.992, allocations: 62.72 kB / 492.6 MB, free: 83.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006947/0.9927, allocations: 409.9 kB / 493 MB, free: 83.65 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.9928, allocations: 25.7 kB / 493 MB, free: 83.62 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/0.9931, allocations: 0.5482 MB / 493.6 MB, free: 83.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/0.9934, allocations: 295.2 kB / 493.9 MB, free: 82.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.14e-05/0.9935, allocations: 0 / 493.9 MB, free: 82.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.9936, allocations: 352.8 kB / 494.2 MB, free: 82.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007565/0.9944, allocations: 298.7 kB / 494.5 MB, free: 82.47 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008957/0.9953, allocations: 0.537 MB / 495 MB, free: 82.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002805/0.9981, allocations: 0.6409 MB / 495.7 MB, free: 81.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-05/0.9982, allocations: 3.688 kB / 495.7 MB, free: 81.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.004496/1.003, allocations: 1.245 MB / 496.9 MB, free: 80.76 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.79e-05/1.003, allocations: 8 kB / 496.9 MB, free: 80.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/1.003, allocations: 8 kB / 496.9 MB, free: 80.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004/1.003, allocations: 72.38 kB / 497 MB, free: 80.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002027/1.005, allocations: 264.6 kB / 497.3 MB, free: 80.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00213/1.007, allocations: 2.519 MB / 499.8 MB, free: 77.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/1.009, allocations: 94.81 kB / 499.9 MB, free: 77.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/1.009, allocations: 51.56 kB / 499.9 MB, free: 77.61 MB / 394.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 () * 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.0002566/1.009, allocations: 136.5 kB / 0.4883 GB, free: 77.47 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002969/1.012, allocations: 0.8117 MB / 0.4891 GB, free: 76.76 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/1.013, allocations: 59.25 kB / 0.4892 GB, free: 76.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003233/1.016, allocations: 1.102 MB / 0.4903 GB, free: 75.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/1.016, allocations: 8 kB / 0.4903 GB, free: 75.76 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/1.016, allocations: 0 / 0.4903 GB, free: 75.76 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/1.016, allocations: 3.609 kB / 0.4903 GB, free: 75.76 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005875/1.022, allocations: 2.583 MB / 0.4928 GB, free: 73.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/1.022, allocations: 8.125 kB / 0.4928 GB, free: 73.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/1.023, allocations: 180 kB / 0.493 GB, free: 73.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000361/1.024, allocations: 64.67 kB / 0.493 GB, free: 73.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-05/1.024, allocations: 12 kB / 0.4931 GB, free: 73.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001952/1.026, allocations: 2.524 MB / 0.4955 GB, free: 70.42 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.168e-05/1.026, allocations: 15.89 kB / 0.4955 GB, free: 70.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003846/1.03, allocations: 1.728 MB / 0.4972 GB, free: 68.53 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003634/1.03, allocations: 175.4 kB / 0.4974 GB, free: 68.35 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/1.03, allocations: 8 kB / 0.4974 GB, free: 68.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/1.031, allocations: 43.05 kB / 0.4974 GB, free: 68.31 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000211/1.032, allocations: 75.03 kB / 0.4975 GB, free: 68.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.3e-05/1.032, allocations: 35.89 kB / 0.4975 GB, free: 68.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005028/1.032, allocations: 318.5 kB / 0.4979 GB, free: 67.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.032, allocations: 0 / 0.4979 GB, free: 67.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001486/1.034, allocations: 294.9 kB / 0.4981 GB, free: 67.64 MB / 394.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 () * 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.004492/1.038, allocations: 4.034 MB / 0.5021 GB, free: 63.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002324/1.041, allocations: 0.9717 MB / 0.503 GB, free: 62.55 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/1.041, allocations: 0 / 0.503 GB, free: 62.55 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001206/1.042, allocations: 0.5632 MB / 0.5036 GB, free: 61.99 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008701/1.043, allocations: 61.45 kB / 0.5036 GB, free: 61.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007155/1.05, allocations: 1.903 MB / 0.5055 GB, free: 60.04 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005409/1.051, allocations: 1.011 MB / 0.5065 GB, free: 59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008867/1.052, allocations: 351.3 kB / 0.5068 GB, free: 58.66 MB / 394.7 MB Notification: Performance of SimCode: time 1.473e-06/1.052, allocations: 0 / 0.5068 GB, free: 58.66 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.874/3.926, allocations: 21.53 MB / 0.5278 GB, free: 37.1 MB / 394.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