Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001317/0.001317, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009138/0.0009137, allocations: 85.02 kB / 292.1 MB, free: 5.918 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.386e-05/3.396e-05, allocations: 0 / 350.6 MB, free: 2.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1113, allocations: 51.48 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3639/0.4752, allocations: 83.62 MB / 485.7 MB, free: 5.938 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.4755, allocations: 77.52 kB / 485.8 MB, free: 5.898 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03939/0.515, allocations: 16.2 MB / 0.4903 GB, free: 7.148 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.515, allocations: 0 / 0.4903 GB, free: 7.148 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.3e-05/0.515, allocations: 8 kB / 0.4903 GB, free: 7.141 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.001912/0.517, allocations: 0.7364 MB / 0.491 GB, free: 6.367 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.517, allocations: 16.03 kB / 0.491 GB, free: 6.352 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000213/0.5172, allocations: 103.7 kB / 0.4911 GB, free: 6.242 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002457/0.5197, allocations: 359.1 kB / 0.4914 GB, free: 5.891 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004805/0.5202, allocations: 306.3 kB / 0.4917 GB, free: 5.551 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.316e-05/0.5203, allocations: 42.17 kB / 0.4918 GB, free: 5.508 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.5204, allocations: 48 kB / 0.4918 GB, free: 5.461 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000919/0.5213, allocations: 0.4904 MB / 0.4923 GB, free: 4.969 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.5213, allocations: 3.906 kB / 0.4923 GB, free: 4.965 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.248e-05/0.5214, allocations: 24 kB / 0.4923 GB, free: 4.941 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.5214, allocations: 18.34 kB / 0.4923 GB, free: 4.926 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009028/0.5223, allocations: 0.5284 MB / 0.4929 GB, free: 4.398 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003098/0.5254, allocations: 1.967 MB / 0.4948 GB, free: 2.297 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002122/0.5276, allocations: 2.174 MB / 0.4969 GB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/0.5279, allocations: 190.2 kB / 0.4971 GB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001667/0.5281, allocations: 174.6 kB / 0.4973 GB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.5281, allocations: 39 kB / 0.4973 GB, free: 15.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 3.136e-06/0.5281, allocations: 0 / 0.4973 GB, free: 15.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.0008741/0.529, allocations: 424.5 kB / 0.4977 GB, free: 14.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.5291, allocations: 55.84 kB / 0.4977 GB, free: 14.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.5292, allocations: 161.4 kB / 0.4979 GB, free: 14.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.5293, allocations: 37.7 kB / 0.4979 GB, free: 14.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.5294, allocations: 224.4 kB / 0.4981 GB, free: 14.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.5296, allocations: 161.7 kB / 0.4983 GB, free: 14.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.009e-05/0.5296, allocations: 4 kB / 0.4983 GB, free: 14.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.5297, allocations: 334.8 kB / 0.4986 GB, free: 13.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.53, allocations: 133.1 kB / 0.4988 GB, free: 13.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002758/0.5302, allocations: 212.9 kB / 0.499 GB, free: 13.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.5305, allocations: 161.6 kB / 0.4991 GB, free: 13.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.5305, allocations: 0 / 0.4991 GB, free: 13.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000894/0.5314, allocations: 0.4926 MB / 0.4996 GB, free: 12.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.5315, allocations: 11.95 kB / 0.4996 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.5315, allocations: 3.938 kB / 0.4996 GB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003524/0.5319, allocations: 94.47 kB / 0.4997 GB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000396/0.5323, allocations: 91.89 kB / 0.4998 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002385/0.5347, allocations: 1.836 MB / 0.5016 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/0.5351, allocations: 51.62 kB / 0.5016 GB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-05/0.5352, allocations: 25.55 kB / 0.5017 GB, free: 10.61 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.0001946/0.5354, allocations: 125.4 kB / 0.5018 GB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.943e-05/0.5355, allocations: 27.72 kB / 0.5018 GB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.5366, allocations: 0.508 MB / 0.5023 GB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.5366, allocations: 6.531 kB / 0.5023 GB, free: 9.922 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.5366, allocations: 4 kB / 0.5023 GB, free: 9.918 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.5367, allocations: 4 kB / 0.5023 GB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.5385, allocations: 1.085 MB / 0.5034 GB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.5385, allocations: 0 / 0.5034 GB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000344/0.5388, allocations: 79.91 kB / 0.5034 GB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003159/0.5392, allocations: 80.81 kB / 0.5035 GB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/0.5392, allocations: 15.98 kB / 0.5035 GB, free: 8.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002017/0.5412, allocations: 1.84 MB / 0.5053 GB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.5413, allocations: 0 / 0.5053 GB, free: 6.625 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.5424, allocations: 0.7297 MB / 0.506 GB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.5426, allocations: 116.8 kB / 0.5062 GB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.5426, allocations: 15.95 kB / 0.5062 GB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.5429, allocations: 19.98 kB / 0.5062 GB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.543, allocations: 32.39 kB / 0.5062 GB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.543, allocations: 13.41 kB / 0.5062 GB, free: 5.672 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001242/0.5431, allocations: 144.7 kB / 0.5064 GB, free: 5.531 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5432, allocations: 0 / 0.5064 GB, free: 5.531 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000645/0.5438, allocations: 167.5 kB / 0.5065 GB, free: 5.363 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.001624/0.5454, allocations: 1.329 MB / 0.5078 GB, free: 4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009227/0.5464, allocations: 0.5342 MB / 0.5084 GB, free: 3.453 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.5464, allocations: 0 / 0.5084 GB, free: 3.453 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004822/0.5469, allocations: 359.8 kB / 0.5087 GB, free: 3.094 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.5472, allocations: 34.16 kB / 0.5087 GB, free: 3.062 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.5485, allocations: 0.6533 MB / 0.5094 GB, free: 2.383 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000394/0.5489, allocations: 0.8205 MB / 0.5102 GB, free: 1.531 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002263/0.5492, allocations: 50.95 kB / 0.5102 GB, free: 1.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.5494, allocations: 139.3 kB / 0.5103 GB, free: 1.344 MB / 378.7 MB Notification: Performance of SimCode: time 8.62e-07/0.5494, allocations: 0 / 0.5103 GB, free: 1.344 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.5713, allocations: 7.123 MB / 0.5173 GB, free: 10.49 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002302/0.5716, allocations: 191.7 kB / 0.5175 GB, free: 10.27 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/2.559, allocations: 7.5 kB / 0.5175 GB, free: 10.26 MB / 394.7 MB (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_SeriesResonance.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat does not exist to compare? outputFormat=mat