Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 175.2 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 221.4 MB / 235.5 MB, free: 2.883 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008337/0.0008335, allocations: 95.98 kB / 286.5 MB, free: 184 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.65e-05/2.652e-05, allocations: 4 kB / 343.9 MB, free: 4.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09163/0.09167, allocations: 50.41 MB / 394.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2953/0.3871, allocations: 82.75 MB / 477.1 MB, free: 4.746 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.3873, allocations: 79.95 kB / 477.2 MB, free: 4.668 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03697/0.4243, allocations: 15.5 MB / 492.7 MB, free: 5.004 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4244, allocations: 7.938 kB / 492.7 MB, free: 4.996 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.4244, allocations: 8 kB / 492.7 MB, free: 4.988 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001487/0.4259, allocations: 0.7454 MB / 493.4 MB, free: 4.199 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.4259, allocations: 8.031 kB / 493.4 MB, free: 4.191 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000143/0.4261, allocations: 91.83 kB / 493.5 MB, free: 4.094 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002226/0.4283, allocations: 367 kB / 493.9 MB, free: 3.734 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.4287, allocations: 298.4 kB / 494.2 MB, free: 3.402 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/0.4287, allocations: 41.31 kB / 494.2 MB, free: 3.359 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.102e-05/0.4288, allocations: 52 kB / 494.3 MB, free: 3.309 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008231/0.4296, allocations: 498.5 kB / 494.8 MB, free: 2.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.4297, allocations: 4 kB / 494.8 MB, free: 2.816 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.918e-05/0.4297, allocations: 20 kB / 494.8 MB, free: 2.797 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.4297, allocations: 15.95 kB / 494.8 MB, free: 2.781 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008267/0.4306, allocations: 0.5323 MB / 495.3 MB, free: 2.246 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002617/0.4332, allocations: 1.896 MB / 497.2 MB, free: 236 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/0.4352, allocations: 2.161 MB / 499.4 MB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003268/0.4356, allocations: 194.2 kB / 499.6 MB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.238e-05/0.4357, allocations: 97.38 kB / 499.7 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.4357, allocations: 35 kB / 499.7 MB, free: 13.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 2.444e-06/0.4357, allocations: 4 kB / 499.7 MB, free: 13.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.000802/0.4365, allocations: 420.5 kB / 0.4884 GB, free: 12.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.4366, allocations: 59.8 kB / 0.4885 GB, free: 12.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.4367, allocations: 173.4 kB / 0.4886 GB, free: 12.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.4368, allocations: 33.7 kB / 0.4887 GB, free: 12.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.4369, allocations: 220.5 kB / 0.4889 GB, free: 12.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.437, allocations: 161.7 kB / 0.489 GB, free: 12.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/0.437, allocations: 8 kB / 0.489 GB, free: 12.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.4371, allocations: 330.8 kB / 0.4893 GB, free: 11.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.4374, allocations: 141.1 kB / 0.4895 GB, free: 11.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/0.4376, allocations: 204.9 kB / 0.4897 GB, free: 11.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.4379, allocations: 165.6 kB / 0.4898 GB, free: 11.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4379, allocations: 0 / 0.4898 GB, free: 11.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000813/0.4387, allocations: 0.4926 MB / 0.4903 GB, free: 10.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.4388, allocations: 8 kB / 0.4903 GB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.4388, allocations: 3.984 kB / 0.4903 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003409/0.4391, allocations: 88.91 kB / 0.4904 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.4395, allocations: 95.83 kB / 0.4905 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/0.4414, allocations: 1.851 MB / 0.4923 GB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.4416, allocations: 47.86 kB / 0.4923 GB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.4417, allocations: 20 kB / 0.4924 GB, free: 8.633 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.4418, allocations: 132.8 kB / 0.4925 GB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.305e-05/0.4419, allocations: 23.72 kB / 0.4925 GB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009003/0.4428, allocations: 0.508 MB / 0.493 GB, free: 7.945 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.4428, allocations: 4 kB / 0.493 GB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4428, allocations: 4 kB / 0.493 GB, free: 7.938 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.4428, allocations: 3.984 kB / 0.493 GB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.4442, allocations: 1.087 MB / 0.4941 GB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4442, allocations: 0 / 0.4941 GB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003158/0.4445, allocations: 79.89 kB / 0.4942 GB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002524/0.4448, allocations: 84.81 kB / 0.4942 GB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.708e-05/0.4448, allocations: 8 kB / 0.4943 GB, free: 6.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001673/0.4465, allocations: 1.846 MB / 0.4961 GB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4465, allocations: 3.953 kB / 0.4961 GB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.4476, allocations: 0.7258 MB / 0.4968 GB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.278e-05/0.4477, allocations: 108.6 kB / 0.4969 GB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.4477, allocations: 20.11 kB / 0.4969 GB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.4479, allocations: 23.94 kB / 0.4969 GB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.68e-05/0.448, allocations: 36.38 kB / 0.4969 GB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.4481, allocations: 12 kB / 0.497 GB, free: 3.672 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001059/0.4482, allocations: 135.2 kB / 0.4971 GB, free: 3.539 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4482, allocations: 0 / 0.4971 GB, free: 3.539 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005331/0.4487, allocations: 155.8 kB / 0.4972 GB, free: 3.387 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (capacitor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001508/0.4502, allocations: 1.333 MB / 0.4985 GB, free: 2.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008936/0.4511, allocations: 0.5385 MB / 0.4991 GB, free: 1.465 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4512, allocations: 0 / 0.4991 GB, free: 1.465 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004758/0.4516, allocations: 357.3 kB / 0.4994 GB, free: 1.105 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.4519, allocations: 20.44 kB / 0.4994 GB, free: 1.086 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.4531, allocations: 0.6635 MB / 0.5001 GB, free: 408 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.4534, allocations: 0.8166 MB / 0.5009 GB, free: 15.55 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002077/0.4536, allocations: 46.95 kB / 0.5009 GB, free: 15.51 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.4538, allocations: 131.4 kB / 0.501 GB, free: 15.38 MB / 394.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4539, allocations: 0 / 0.501 GB, free: 15.38 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03604/0.4899, allocations: 7.075 MB / 0.5079 GB, free: 8.484 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001991/0.4902, allocations: 195.9 kB / 0.5081 GB, free: 8.258 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/2.374, allocations: 3.938 kB / 0.5081 GB, free: 8.254 MB / 394.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat does not exist to compare? outputFormat=mat