Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.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.ParallelResonance,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_ParallelResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.959/1.959, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005247/0.0005246, allocations: 12 kB / 264.1 MB, free: 3.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3622, allocations: 44.51 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1845/0.5467, allocations: 77.03 MB / 385.6 MB, free: 15.51 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003946/0.5472, allocations: 79.95 kB / 385.7 MB, free: 15.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07787/0.6251, allocations: 16.11 MB / 401.8 MB, free: 15.15 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.6251, allocations: 0 / 401.8 MB, free: 15.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.28e-05/0.6252, allocations: 11.94 kB / 401.8 MB, free: 15.14 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002585/0.6278, allocations: 0.78 MB / 402.6 MB, free: 14.31 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.6279, allocations: 8.031 kB / 402.6 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002841/0.6281, allocations: 99.83 kB / 402.7 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004331/0.6325, allocations: 435 kB / 403.1 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007001/0.6332, allocations: 322.2 kB / 403.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.789e-05/0.6333, allocations: 45.31 kB / 403.5 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.6335, allocations: 56 kB / 403.5 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.6352, allocations: 0.5687 MB / 404.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.301e-05/0.6353, allocations: 0 / 404.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.805e-05/0.6354, allocations: 24 kB / 404.1 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.268e-05/0.6355, allocations: 16 kB / 404.1 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003272/0.6387, allocations: 0.661 MB / 404.8 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005552/0.6443, allocations: 2.106 MB / 406.9 MB, free: 9.812 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00402/0.6484, allocations: 2.999 MB / 409.9 MB, free: 6.242 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/0.6487, allocations: 93.53 kB / 410 MB, free: 6.133 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/0.6487, allocations: 39 kB / 410 MB, free: 6.086 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 3.176e-06/0.6487, allocations: 0 / 410 MB, free: 6.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.00298/0.6518, allocations: 0.7626 MB / 410.8 MB, free: 5.297 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.6519, allocations: 63.78 kB / 410.9 MB, free: 5.223 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/0.6522, allocations: 186.2 kB / 411 MB, free: 5.035 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.278e-05/0.6522, allocations: 37.7 kB / 411.1 MB, free: 4.992 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.6524, allocations: 244.1 kB / 411.3 MB, free: 4.746 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000198/0.6527, allocations: 165.5 kB / 411.5 MB, free: 4.582 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.6527, allocations: 8 kB / 411.5 MB, free: 4.574 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.6529, allocations: 346.8 kB / 411.8 MB, free: 4.227 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005973/0.6535, allocations: 165 kB / 412 MB, free: 4.066 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006433/0.6542, allocations: 278 kB / 412.3 MB, free: 3.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006414/0.6548, allocations: 208.7 kB / 412.5 MB, free: 3.543 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.6549, allocations: 4 kB / 412.5 MB, free: 3.539 MB / 346.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00185/0.6567, allocations: 0.5942 MB / 413.1 MB, free: 2.938 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.721e-05/0.6568, allocations: 8 kB / 413.1 MB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.6568, allocations: 4 kB / 413.1 MB, free: 2.926 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005263/0.6574, allocations: 80.8 kB / 413.1 MB, free: 2.844 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008879/0.6583, allocations: 111.9 kB / 413.3 MB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002612/0.6609, allocations: 1.668 MB / 414.9 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000575/0.6615, allocations: 55.44 kB / 415 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-05/0.6616, allocations: 23.98 kB / 415 MB, free: 0.8594 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003346/0.662, allocations: 177.6 kB / 415.2 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.191e-05/0.6621, allocations: 27.72 kB / 415.2 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/0.6639, allocations: 0.5668 MB / 415.8 MB, free: 76 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.664, allocations: 7.984 kB / 415.8 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.664, allocations: 0 / 415.8 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.664, allocations: 7.922 kB / 415.8 MB, free: 60 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2507/0.9148, allocations: 1.176 MB / 417 MB, free: 90.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.9148, allocations: 4.109 kB / 417 MB, free: 90.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007158/0.9156, allocations: 88.53 kB / 417 MB, free: 90.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004847/0.9161, allocations: 84.89 kB / 417.1 MB, free: 90.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.113e-05/0.9162, allocations: 10.77 kB / 417.1 MB, free: 90.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003594/0.9198, allocations: 1.66 MB / 418.8 MB, free: 88.83 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.9198, allocations: 0 / 418.8 MB, free: 88.83 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002302/0.9221, allocations: 0.8299 MB / 419.6 MB, free: 88.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.9223, allocations: 113.5 kB / 419.7 MB, free: 88.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.932e-05/0.9224, allocations: 12.97 kB / 419.8 MB, free: 88.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/0.9228, allocations: 26.02 kB / 419.8 MB, free: 88.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.923, allocations: 33.28 kB / 419.8 MB, free: 88.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-05/0.923, allocations: 17 kB / 419.8 MB, free: 88.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001761/0.9232, allocations: 142.3 kB / 420 MB, free: 88.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.9232, allocations: 2.156 kB / 420 MB, free: 88.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007485/0.924, allocations: 171.3 kB / 420.1 MB, free: 88.48 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.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 (46): * Single equations (assignments): 45 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002507/0.9265, allocations: 1.406 MB / 421.5 MB, free: 87.79 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001629/0.9282, allocations: 0.6092 MB / 422.2 MB, free: 87.66 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.9282, allocations: 1.969 kB / 422.2 MB, free: 87.66 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008949/0.9291, allocations: 399.3 kB / 422.5 MB, free: 87.54 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.9295, allocations: 24.27 kB / 422.6 MB, free: 87.54 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007663/0.9372, allocations: 4.766 MB / 427.3 MB, free: 84.69 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.9376, allocations: 0.8303 MB / 428.2 MB, free: 83.98 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004161/0.938, allocations: 48.36 kB / 428.2 MB, free: 83.97 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/0.9383, allocations: 140.8 kB / 428.4 MB, free: 83.96 MB / 346.7 MB Notification: Performance of SimCode: time 1.443e-06/0.9383, allocations: 0 / 428.4 MB, free: 83.96 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03028/0.9686, allocations: 7.048 MB / 435.4 MB, free: 83.38 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/0.9689, allocations: 225.2 kB / 435.6 MB, free: 83.14 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.812/3.781, allocations: 3.938 kB / 435.6 MB, free: 83.14 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat does not exist to compare? outputFormat=mat