Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.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.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",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.001852/0.001852, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.2 MB / 219.8 MB, free: 14.26 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008354/0.0008354, allocations: 97.72 kB / 268 MB, free: 14.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.351e-05/2.362e-05, allocations: 4 kB / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08611/0.08615, allocations: 47.56 MB / 370.1 MB, free: 1.613 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3041/0.3903, allocations: 91.32 MB / 461.4 MB, free: 1.867 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/0.3906, allocations: 74.09 kB / 461.5 MB, free: 1.832 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1137/0.5044, allocations: 57.37 MB / 0.5067 GB, free: 9.781 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5044, allocations: 0.875 kB / 0.5067 GB, free: 9.781 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.976e-05/0.5044, allocations: 28 kB / 0.5067 GB, free: 9.754 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002717/0.5072, allocations: 1.74 MB / 0.5084 GB, free: 7.957 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.5072, allocations: 8.031 kB / 0.5085 GB, free: 7.949 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/0.5073, allocations: 110.5 kB / 0.5086 GB, free: 7.832 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002224/0.5076, allocations: 221.4 kB / 0.5088 GB, free: 7.613 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/0.5094, allocations: 1.251 MB / 0.51 GB, free: 6.293 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.5094, allocations: 41.31 kB / 0.51 GB, free: 6.254 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.5096, allocations: 56 kB / 0.5101 GB, free: 6.199 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009574/0.5105, allocations: 0.6238 MB / 0.5107 GB, free: 5.562 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.5105, allocations: 4 kB / 0.5107 GB, free: 5.559 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.978e-05/0.5106, allocations: 20 kB / 0.5107 GB, free: 5.539 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.5106, allocations: 27.94 kB / 0.5107 GB, free: 5.512 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007146/0.5114, allocations: 469.1 kB / 0.5112 GB, free: 5.051 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003367/0.5147, allocations: 2.594 MB / 0.5137 GB, free: 2.324 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000658/0.5154, allocations: 0.522 MB / 0.5142 GB, free: 1.789 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000583/0.516, allocations: 0.4949 MB / 0.5147 GB, free: 1.293 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009716/0.5257, allocations: 8.763 MB / 0.5233 GB, free: 7.172 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005169/0.5263, allocations: 318.1 kB / 0.5236 GB, free: 6.844 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 2.615e-06/0.5263, allocations: 0 / 0.5236 GB, free: 6.844 MB / 410.7 MB Notification: Performance of matching and sorting (n=67): time 0.001484/0.5278, allocations: 0.8797 MB / 0.5244 GB, free: 5.953 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.5279, allocations: 89.55 kB / 0.5245 GB, free: 5.848 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/0.5294, allocations: 1.25 MB / 0.5257 GB, free: 4.559 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.83e-05/0.5295, allocations: 33.7 kB / 0.5258 GB, free: 4.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006697/0.5302, allocations: 0.8055 MB / 0.5266 GB, free: 3.707 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.5304, allocations: 224.7 kB / 0.5268 GB, free: 3.484 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.5304, allocations: 16 kB / 0.5268 GB, free: 3.469 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.5305, allocations: 334 kB / 0.5271 GB, free: 3.137 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003265/0.5309, allocations: 197.8 kB / 0.5273 GB, free: 2.945 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004294/0.5313, allocations: 398.7 kB / 0.5277 GB, free: 2.477 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003956/0.5317, allocations: 257.7 kB / 0.5279 GB, free: 2.227 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.5317, allocations: 4 kB / 0.5279 GB, free: 2.223 MB / 410.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001628/0.5334, allocations: 1.013 MB / 0.5289 GB, free: 1.195 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.5334, allocations: 8 kB / 0.5289 GB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001037/0.5335, allocations: 80.06 kB / 0.529 GB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.5348, allocations: 0.6952 MB / 0.5297 GB, free: 424 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005025/0.5353, allocations: 119.8 kB / 0.5298 GB, free: 304 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2003/0.7356, allocations: 1.102 MB / 0.5309 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009055/0.7366, allocations: 98.86 kB / 0.531 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.63e-05/0.7367, allocations: 37.58 kB / 0.531 GB, free: 104.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.VCC.counter,VCC.counter,$PRE.VEE.counter,VEE.counter,$whenCondition2,$whenCondition1,$PRE.VCC.T0,VCC.T0,$PRE.VCC.counter2,VCC.counter2,$PRE.VEE.T0,VEE.T0,$PRE.VEE.counter2,VEE.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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: 0 * Non-linear torn systems: 1 {5 26} Notification: Performance of prepare postOptimizeDAE: time 0.0001472/0.7368, allocations: 148.2 kB / 0.5311 GB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.737, allocations: 203.1 kB / 0.5313 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/0.7391, allocations: 1.028 MB / 0.5323 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.7392, allocations: 7.891 kB / 0.5323 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.7392, allocations: 2.656 kB / 0.5323 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.7392, allocations: 1.734 kB / 0.5323 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.7406, allocations: 1.007 MB / 0.5333 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.238e-05/0.7407, allocations: 68.84 kB / 0.5334 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003709/0.741, allocations: 70.58 kB / 0.5335 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001105/0.7421, allocations: 0.6718 MB / 0.5341 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.123e-05/0.7422, allocations: 19.53 kB / 0.5341 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.7433, allocations: 1.081 MB / 0.5352 GB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.7433, allocations: 2 kB / 0.5352 GB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.745, allocations: 1.222 MB / 0.5364 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004157/0.7455, allocations: 294.2 kB / 0.5367 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.7456, allocations: 13.72 kB / 0.5367 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004879/0.7461, allocations: 46.73 kB / 0.5367 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.7463, allocations: 58.27 kB / 0.5368 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-05/0.7463, allocations: 26.5 kB / 0.5368 GB, free: 103.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001369/0.7477, allocations: 0.9638 MB / 0.5378 GB, free: 103.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7477, allocations: 1.125 kB / 0.5378 GB, free: 103.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00114/0.7489, allocations: 483.7 kB / 0.5382 GB, free: 103.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Q1.vbe,Q1.vbc,Q2.vbe,Q2.vbc) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VCC.T0,VCC.counter,VCC.counter2,VEE.T0,VEE.counter,VEE.counter2) * Number of discrete states: 4 (VEE.counter,VCC.counter,VEE.counter2,VCC.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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: 0 * Non-linear torn systems: 1 {5 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.002829/0.7517, allocations: 2.226 MB / 0.5404 GB, free: 102.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001614/0.7533, allocations: 0.7506 MB / 0.5411 GB, free: 102.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.7533, allocations: 0 / 0.5411 GB, free: 102.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008693/0.7542, allocations: 469.4 kB / 0.5416 GB, free: 102.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007349/0.755, allocations: 179.7 kB / 0.5417 GB, free: 102.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005545/0.7605, allocations: 2.674 MB / 0.5444 GB, free: 101.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007007/0.7613, allocations: 1.251 MB / 0.5456 GB, free: 101 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006422/0.7619, allocations: 177.1 kB / 0.5457 GB, free: 101 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005901/0.7625, allocations: 0.6255 MB / 0.5464 GB, free: 100.9 MB / 410.7 MB Notification: Performance of SimCode: time 8.22e-07/0.7625, allocations: 0 / 0.5464 GB, free: 100.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05197/0.8145, allocations: 32.26 MB / 0.5779 GB, free: 95.41 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/0.8147, allocations: 209.3 kB / 0.5781 GB, free: 95.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.082/3.897, allocations: 7.938 kB / 0.5781 GB, free: 95.17 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)