Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode.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) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_SeriesBode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.932/1.932, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003601, allocations: 12 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08939/0.08978, allocations: 44.51 MB / 308.5 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4003/0.4901, allocations: 78.54 MB / 387.1 MB, free: 14.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.4905, allocations: 83.44 kB / 387.2 MB, free: 14.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0621/0.5526, allocations: 17.71 MB / 404.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5527, allocations: 0 / 404.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.335e-05/0.5527, allocations: 11.38 kB / 404.9 MB, free: 11.09 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002529/0.5552, allocations: 0.8561 MB / 405.7 MB, free: 10.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.5553, allocations: 7.75 kB / 405.8 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002582/0.5556, allocations: 122.9 kB / 405.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004287/0.5599, allocations: 463 kB / 406.3 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006098/0.5605, allocations: 349.8 kB / 406.7 MB, free: 9.957 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.053e-05/0.5606, allocations: 51.75 kB / 406.7 MB, free: 9.953 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.5607, allocations: 65.05 kB / 406.8 MB, free: 9.949 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.5628, allocations: 0.8295 MB / 407.6 MB, free: 9.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.533e-05/0.5629, allocations: 7.891 kB / 407.6 MB, free: 9.723 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.563, allocations: 30.16 kB / 407.6 MB, free: 9.723 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.563, allocations: 15.53 kB / 407.7 MB, free: 9.723 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002325/0.5654, allocations: 0.8867 MB / 408.5 MB, free: 9.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005607/0.571, allocations: 2.795 MB / 411.3 MB, free: 8.012 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002628/0.5737, allocations: 2.022 MB / 413.4 MB, free: 6.215 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001274/0.5738, allocations: 97.05 kB / 413.5 MB, free: 6.113 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.5739, allocations: 44.12 kB / 413.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of pre-optimization done (n=52): time 3.196e-06/0.5739, allocations: 0 / 413.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of matching and sorting (n=52): time 0.003068/0.577, allocations: 1.079 MB / 414.6 MB, free: 5.602 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.577, allocations: 85.17 kB / 414.7 MB, free: 5.508 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003612/0.5774, allocations: 271 kB / 414.9 MB, free: 5.375 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.692e-05/0.5775, allocations: 32.39 kB / 415 MB, free: 5.344 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.5777, allocations: 350.4 kB / 415.3 MB, free: 5.059 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.5778, allocations: 179 kB / 415.5 MB, free: 4.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.5779, allocations: 15.16 kB / 415.5 MB, free: 4.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.219e-05/0.578, allocations: 332.5 kB / 415.8 MB, free: 4.609 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007122/0.5787, allocations: 229.7 kB / 416 MB, free: 4.578 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008124/0.5795, allocations: 445.2 kB / 416.5 MB, free: 4.297 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007966/0.5803, allocations: 272.8 kB / 416.7 MB, free: 4.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.5803, allocations: 0 / 416.7 MB, free: 4.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002156/0.5825, allocations: 0.7643 MB / 417.5 MB, free: 4.078 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004695/0.583, allocations: 2.441 MB / 419.9 MB, free: 1.512 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.583, allocations: 7.719 kB / 420 MB, free: 1.512 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003515/0.5834, allocations: 58.11 kB / 420 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009789/0.5844, allocations: 140.2 kB / 420.2 MB, free: 1.465 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001839/0.5862, allocations: 1.618 MB / 421.8 MB, free: 16.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007649/0.587, allocations: 79.61 kB / 421.8 MB, free: 16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.612e-05/0.5871, allocations: 42.17 kB / 421.9 MB, free: 15.99 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.5872, allocations: 3.969 kB / 421.9 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001857/0.589, allocations: 0.6875 MB / 422.6 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.589, allocations: 7.594 kB / 422.6 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002083/0.5893, allocations: 51.27 kB / 422.6 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008797/0.5902, allocations: 134.7 kB / 422.8 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/0.5919, allocations: 1.525 MB / 424.3 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005531/0.5924, allocations: 60.25 kB / 424.4 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.161e-05/0.5925, allocations: 33.11 kB / 424.4 MB, free: 14.45 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (71): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000456/0.593, allocations: 264.8 kB / 424.6 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.5931, allocations: 34.78 kB / 424.7 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002082/0.5952, allocations: 0.6888 MB / 425.4 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.5952, allocations: 7.75 kB / 425.4 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.5953, allocations: 0 / 425.4 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.5953, allocations: 0 / 425.4 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003137/0.5984, allocations: 1.4 MB / 426.8 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.5984, allocations: 0 / 426.8 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007621/0.5992, allocations: 99.73 kB / 426.9 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002628/0.5995, allocations: 59.62 kB / 426.9 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.897e-05/0.5996, allocations: 11.56 kB / 426.9 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001859/0.6014, allocations: 1.591 MB / 428.5 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6014, allocations: 0 / 428.5 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002718/0.6042, allocations: 1.027 MB / 429.6 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002419/0.6044, allocations: 162.1 kB / 429.7 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-05/0.6045, allocations: 14.11 kB / 429.7 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005241/0.6051, allocations: 32.72 kB / 429.8 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.6052, allocations: 39.14 kB / 429.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.558e-05/0.6053, allocations: 18.02 kB / 429.8 MB, free: 11.56 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003128/0.6056, allocations: 208.7 kB / 430 MB, free: 11.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6056, allocations: 0 / 430 MB, free: 11.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001349/0.607, allocations: 292 kB / 430.3 MB, free: 11.4 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004047/0.611, allocations: 1.621 MB / 431.9 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004198/0.6153, allocations: 1.203 MB / 433.1 MB, free: 10.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.6153, allocations: 3.75 kB / 433.1 MB, free: 10.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001483/0.6168, allocations: 431.3 kB / 433.6 MB, free: 10.01 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007315/0.6176, allocations: 36.67 kB / 433.6 MB, free: 10 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/0.6339, allocations: 7.684 MB / 441.3 MB, free: 4.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007481/0.6347, allocations: 0.8492 MB / 442.1 MB, free: 3.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007934/0.6355, allocations: 202.6 kB / 442.3 MB, free: 3.371 MB / 330.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6356, allocations: 0 / 442.3 MB, free: 3.371 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.88/3.516, allocations: 10.58 MB / 452.9 MB, free: 12.53 MB / 346.7 MB