Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.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.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001016/0.001016, allocations: 198.8 kB / 8.538 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.106/1.106, allocations: 225.5 MB / 234.4 MB, free: 3.406 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008251/0.0008251, allocations: 94.98 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08649/0.08734, allocations: 56.89 MB / 343.2 MB, free: 8.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07532/0.1627, allocations: 51.48 MB / 394.7 MB, free: 5.121 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2186/0.3813, allocations: 104.2 MB / 498.9 MB, free: 5.523 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001814/0.3815, allocations: 75.02 kB / 499 MB, free: 5.484 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.1523/0.5339, allocations: 79.14 MB / 0.5645 GB, free: 11.1 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.5339, allocations: 16 kB / 0.5646 GB, free: 11.08 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.5341, allocations: 114.6 kB / 0.5647 GB, free: 10.97 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009734/0.535, allocations: 0.752 MB / 0.5654 GB, free: 10.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.5351, allocations: 9.688 kB / 0.5654 GB, free: 10.16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.485e-05/0.5351, allocations: 19.91 kB / 0.5654 GB, free: 10.14 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004026/0.5355, allocations: 233.1 kB / 0.5657 GB, free: 9.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004447/0.536, allocations: 299.6 kB / 0.5659 GB, free: 9.598 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.536, allocations: 4 kB / 0.5659 GB, free: 9.594 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.536, allocations: 0 / 0.5659 GB, free: 9.594 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.5361, allocations: 11.98 kB / 0.566 GB, free: 9.582 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.5378, allocations: 1.228 MB / 0.5672 GB, free: 8.293 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.5381, allocations: 117.9 kB / 0.5673 GB, free: 8.172 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.5383, allocations: 173.1 kB / 0.5674 GB, free: 8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1423/0.6806, allocations: 9.369 MB / 0.5766 GB, free: 66.31 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.6809, allocations: 143.7 kB / 0.5767 GB, free: 66.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=19): time 2.284e-06/0.6809, allocations: 3.656 kB / 0.5767 GB, free: 66.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004176/0.6813, allocations: 265.4 kB / 0.577 GB, free: 66.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.6813, allocations: 116.5 kB / 0.5771 GB, free: 66.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006777/0.682, allocations: 0.693 MB / 0.5778 GB, free: 65.94 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.6821, allocations: 30.02 kB / 0.5778 GB, free: 65.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.6822, allocations: 270.2 kB / 0.578 GB, free: 65.78 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.6822, allocations: 58.48 kB / 0.5781 GB, free: 65.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.701e-05/0.6822, allocations: 0 / 0.5781 GB, free: 65.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.64e-05/0.6823, allocations: 327.5 kB / 0.5784 GB, free: 65.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.6824, allocations: 63.28 kB / 0.5785 GB, free: 65.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.6825, allocations: 209.2 kB / 0.5787 GB, free: 65.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.6827, allocations: 89.12 kB / 0.5788 GB, free: 65.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.6827, allocations: 3.969 kB / 0.5788 GB, free: 65.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004518/0.6831, allocations: 377.4 kB / 0.5791 GB, free: 65.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.6832, allocations: 3.969 kB / 0.5791 GB, free: 65.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.169e-05/0.6832, allocations: 22.75 kB / 0.5791 GB, free: 65.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.6832, allocations: 14.86 kB / 0.5792 GB, free: 65.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003638/0.6836, allocations: 101.8 kB / 0.5793 GB, free: 65.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.6836, allocations: 3.844 kB / 0.5793 GB, free: 65.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/0.684, allocations: 68.75 kB / 0.5793 GB, free: 65.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/0.684, allocations: 22.94 kB / 0.5794 GB, free: 65.17 MB / 442.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 7.662e-05/0.6841, allocations: 127.4 kB / 0.5795 GB, free: 65.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.349e-05/0.6842, allocations: 107.8 kB / 0.5796 GB, free: 65.01 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009712/0.6852, allocations: 428.2 kB / 0.58 GB, free: 64.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.6852, allocations: 10.88 kB / 0.58 GB, free: 64.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.6852, allocations: 0 / 0.58 GB, free: 64.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.6852, allocations: 0 / 0.58 GB, free: 64.96 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004035/0.6856, allocations: 0.5332 MB / 0.5805 GB, free: 64.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.517e-05/0.6857, allocations: 17.59 kB / 0.5805 GB, free: 64.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.6859, allocations: 58.86 kB / 0.5806 GB, free: 64.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.6859, allocations: 2.812 kB / 0.5806 GB, free: 64.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.686, allocations: 7.844 kB / 0.5806 GB, free: 64.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.686, allocations: 0 / 0.5806 GB, free: 64.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.686, allocations: 9.969 kB / 0.5806 GB, free: 64.75 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003614/0.6864, allocations: 355.9 kB / 0.5809 GB, free: 64.58 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000418/0.6868, allocations: 0.7485 MB / 0.5817 GB, free: 64.04 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/0.687, allocations: 207.6 kB / 0.5819 GB, free: 63.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.6871, allocations: 3.938 kB / 0.5819 GB, free: 63.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003348/0.6874, allocations: 43.19 kB / 0.5819 GB, free: 63.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.59e-05/0.6875, allocations: 30.17 kB / 0.5819 GB, free: 63.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.6876, allocations: 13.16 kB / 0.582 GB, free: 63.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0004543/0.688, allocations: 0.5328 MB / 0.5825 GB, free: 63.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001127/0.6892, allocations: 247.4 kB / 0.5827 GB, free: 63.77 MB / 442.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.0006563/0.6898, allocations: 0.6233 MB / 0.5833 GB, free: 63.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003319/0.6902, allocations: 240.4 kB / 0.5836 GB, free: 63.64 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6902, allocations: 2.094 kB / 0.5836 GB, free: 63.64 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.6904, allocations: 130.7 kB / 0.5837 GB, free: 63.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000567/0.6909, allocations: 156.9 kB / 0.5838 GB, free: 63.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.6925, allocations: 0.9653 MB / 0.5848 GB, free: 63.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003593/0.6928, allocations: 1.029 MB / 0.5858 GB, free: 62.59 MB / 442.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6928, allocations: 0 / 0.5858 GB, free: 62.59 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization_fmu --startTime=0 --stopTime=1e-07 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization.pipe 2>&1)