Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001521/0.001521, allocations: 180.3 kB / 8.699 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007986/0.0007986, allocations: 86.7 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.786e-05/1.811e-05, allocations: 4 kB / 315.6 MB, free: 22.63 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08246/0.08249, allocations: 47.59 MB / 363.2 MB, free: 6.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3419/0.4245, allocations: 101.7 MB / 464.8 MB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.4248, allocations: 78.27 kB / 464.9 MB, free: 10.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1474/0.5723, allocations: 70.09 MB / 0.5225 GB, free: 9.395 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5723, allocations: 0 / 0.5225 GB, free: 9.395 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.88e-05/0.5723, allocations: 20 kB / 0.5225 GB, free: 9.375 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.002661/0.575, allocations: 1.215 MB / 0.5237 GB, free: 8.113 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/0.5751, allocations: 12.03 kB / 0.5237 GB, free: 8.102 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.5753, allocations: 122.5 kB / 0.5238 GB, free: 7.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.5764, allocations: 0.756 MB / 0.5245 GB, free: 7.172 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.5765, allocations: 8 kB / 0.5245 GB, free: 7.164 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.474e-05/0.5765, allocations: 12 kB / 0.5246 GB, free: 7.152 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004813/0.577, allocations: 241.1 kB / 0.5248 GB, free: 6.914 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005167/0.5776, allocations: 299.3 kB / 0.5251 GB, free: 6.605 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.5776, allocations: 4 kB / 0.5251 GB, free: 6.602 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.774e-05/0.5776, allocations: 3.984 kB / 0.5251 GB, free: 6.598 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.5776, allocations: 4 kB / 0.5251 GB, free: 6.594 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.5799, allocations: 1.213 MB / 0.5263 GB, free: 5.316 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.5802, allocations: 162.8 kB / 0.5264 GB, free: 5.148 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002542/0.5805, allocations: 189 kB / 0.5266 GB, free: 4.961 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2371/0.8176, allocations: 9.255 MB / 0.5356 GB, free: 97.92 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003288/0.818, allocations: 152.9 kB / 0.5358 GB, free: 97.87 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 3.376e-06/0.818, allocations: 1.125 kB / 0.5358 GB, free: 97.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.000627/0.8187, allocations: 290.3 kB / 0.5361 GB, free: 97.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.8187, allocations: 107.4 kB / 0.5362 GB, free: 97.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.8199, allocations: 0.7041 MB / 0.5369 GB, free: 97.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.8199, allocations: 28.78 kB / 0.5369 GB, free: 97.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003746/0.8203, allocations: 467 kB / 0.5373 GB, free: 97.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.022e-05/0.8203, allocations: 60.3 kB / 0.5374 GB, free: 97.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.765e-05/0.8204, allocations: 0 / 0.5374 GB, free: 97.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.702e-05/0.8204, allocations: 320.2 kB / 0.5377 GB, free: 97.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.8205, allocations: 71.33 kB / 0.5378 GB, free: 97.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.8207, allocations: 210.3 kB / 0.538 GB, free: 96.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.8209, allocations: 98.52 kB / 0.5381 GB, free: 96.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.821, allocations: 7 kB / 0.5381 GB, free: 96.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005355/0.8215, allocations: 364.4 kB / 0.5384 GB, free: 96.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.8215, allocations: 7.719 kB / 0.5384 GB, free: 96.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.16e-05/0.8216, allocations: 27.41 kB / 0.5384 GB, free: 96.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.8216, allocations: 9.688 kB / 0.5384 GB, free: 96.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/0.822, allocations: 94.84 kB / 0.5385 GB, free: 96.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-05/0.8221, allocations: 12.44 kB / 0.5385 GB, free: 96.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004706/0.8225, allocations: 64.56 kB / 0.5386 GB, free: 96.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.278e-05/0.8226, allocations: 21.97 kB / 0.5386 GB, free: 96.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.VDS.counter,VDS.counter,$PRE.VGS.counter,VGS.counter,$whenCondition2,$whenCondition1,$PRE.VDS.T0,VDS.T0,$PRE.VDS.counter2,VDS.counter2,$PRE.VGS.T0,VGS.T0,$PRE.VGS.counter2,VGS.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.8227, allocations: 125.4 kB / 0.5388 GB, free: 96.65 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004189/0.8231, allocations: 277.9 kB / 0.539 GB, free: 96.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.613e-05/0.8233, allocations: 115.1 kB / 0.5391 GB, free: 96.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008077/0.8241, allocations: 377.5 kB / 0.5395 GB, free: 96.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.8241, allocations: 1.984 kB / 0.5395 GB, free: 96.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.8241, allocations: 6.672 kB / 0.5395 GB, free: 96.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.8241, allocations: 0.7969 kB / 0.5395 GB, free: 96.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006394/0.8247, allocations: 0.5286 MB / 0.54 GB, free: 96.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.21e-05/0.8248, allocations: 22.17 kB / 0.54 GB, free: 96.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000296/0.8251, allocations: 56 kB / 0.5401 GB, free: 96.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.8251, allocations: 2.219 kB / 0.5401 GB, free: 96.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.8251, allocations: 8.109 kB / 0.5401 GB, free: 96.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.8252, allocations: 2.812 kB / 0.5401 GB, free: 96.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.8252, allocations: 1.031 kB / 0.5401 GB, free: 96.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004751/0.8256, allocations: 367.6 kB / 0.5405 GB, free: 96.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/0.8259, allocations: 213.5 kB / 0.5407 GB, free: 95.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.826, allocations: 7.5 kB / 0.5407 GB, free: 95.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/0.8264, allocations: 36.58 kB / 0.5407 GB, free: 95.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.753e-05/0.8265, allocations: 32.23 kB / 0.5407 GB, free: 95.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.8265, allocations: 16.22 kB / 0.5407 GB, free: 95.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006519/0.8272, allocations: 0.5313 MB / 0.5413 GB, free: 95.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8272, allocations: 0 / 0.5413 GB, free: 95.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007648/0.8279, allocations: 232.8 kB / 0.5415 GB, free: 95.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VDS.T0,VDS.counter,VDS.counter2,VGS.T0,VGS.counter,VGS.counter2) * Number of discrete states: 4 (VGS.counter,VDS.counter,VGS.counter2,VDS.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001533/0.8295, allocations: 1.567 MB / 0.543 GB, free: 94.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004469/0.8299, allocations: 236 kB / 0.5432 GB, free: 94.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.83, allocations: 0 / 0.5432 GB, free: 94.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.8301, allocations: 130.3 kB / 0.5434 GB, free: 94.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/0.8307, allocations: 142 kB / 0.5435 GB, free: 94.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.8328, allocations: 1.133 MB / 0.5446 GB, free: 94.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.8332, allocations: 0.977 MB / 0.5456 GB, free: 93.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003825/0.8336, allocations: 104.7 kB / 0.5457 GB, free: 93.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/0.8339, allocations: 323.8 kB / 0.546 GB, free: 93.8 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.8339, allocations: 1.031 kB / 0.546 GB, free: 93.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04193/0.8759, allocations: 18.5 MB / 0.564 GB, free: 92.94 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/0.8761, allocations: 177.6 kB / 0.5642 GB, free: 92.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.712/3.588, allocations: 3.938 kB / 0.5642 GB, free: 92.73 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization_fmu --startTime=0 --stopTime=1e-07 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat does not exist to compare? outputFormat=mat