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.0009937/0.0009936, allocations: 178.9 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.435/1.435, 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.0008276/0.0008276, allocations: 66.73 kB / 262.4 MB, free: 1.691 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.733e-05/1.734e-05, allocations: 4 kB / 315.6 MB, free: 22.63 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08025/0.08028, allocations: 47.58 MB / 363.2 MB, free: 6.992 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3103/0.3907, allocations: 90.92 MB / 454.1 MB, free: 4.703 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.3909, allocations: 68.72 kB / 454.1 MB, free: 4.672 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.112/0.5029, allocations: 54.48 MB / 0.4967 GB, free: 4.035 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.503, allocations: 0 / 0.4967 GB, free: 4.035 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.153e-05/0.503, allocations: 28.81 kB / 0.4967 GB, free: 4.008 MB / 378.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.002905/0.506, allocations: 1.736 MB / 0.4984 GB, free: 2.219 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.506, allocations: 8.031 kB / 0.4984 GB, free: 2.211 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002659/0.5063, allocations: 225.3 kB / 0.4986 GB, free: 1.988 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.508, allocations: 1.255 MB / 0.4999 GB, free: 0.6602 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.508, allocations: 19.98 kB / 0.4999 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.6e-05/0.5081, allocations: 32 kB / 0.4999 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007018/0.5088, allocations: 442.6 kB / 0.5003 GB, free: 184 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009655/0.5098, allocations: 0.5509 MB / 0.5009 GB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.5098, allocations: 0 / 0.5009 GB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.387e-05/0.5099, allocations: 7.938 kB / 0.5009 GB, free: 15.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.5099, allocations: 20 kB / 0.5009 GB, free: 15.58 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003647/0.5136, allocations: 2.479 MB / 0.5033 GB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005954/0.5142, allocations: 0.501 MB / 0.5038 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005268/0.5147, allocations: 479 kB / 0.5043 GB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009622/0.5244, allocations: 8.757 MB / 0.5128 GB, free: 1.891 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000466/0.5249, allocations: 305.2 kB / 0.5131 GB, free: 1.582 MB / 394.7 MB Notification: Performance of pre-optimization done (n=67): time 2.504e-06/0.5249, allocations: 0 / 0.5131 GB, free: 1.582 MB / 394.7 MB Notification: Performance of matching and sorting (n=67): time 0.001628/0.5265, allocations: 0.9538 MB / 0.5141 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.5266, allocations: 85.53 kB / 0.5141 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.528, allocations: 1.152 MB / 0.5153 GB, free: 15.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.734e-05/0.528, allocations: 33.7 kB / 0.5153 GB, free: 15.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005936/0.5286, allocations: 0.7937 MB / 0.5161 GB, free: 14.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/0.5288, allocations: 220.7 kB / 0.5163 GB, free: 14.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/0.5288, allocations: 0 / 0.5163 GB, free: 14.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.529, allocations: 337.9 kB / 0.5166 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.5293, allocations: 179.1 kB / 0.5168 GB, free: 13.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003911/0.5297, allocations: 381.8 kB / 0.5171 GB, free: 13.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006376/0.5303, allocations: 356.1 kB / 0.5175 GB, free: 12.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.5303, allocations: 0 / 0.5175 GB, free: 12.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001575/0.5319, allocations: 1.072 MB / 0.5185 GB, free: 11.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.5319, allocations: 8 kB / 0.5185 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000103/0.532, allocations: 71.98 kB / 0.5186 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.5332, allocations: 0.6641 MB / 0.5192 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005119/0.5337, allocations: 127.8 kB / 0.5194 GB, free: 11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/0.5352, allocations: 1.284 MB / 0.5206 GB, free: 9.691 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000662/0.5359, allocations: 91.23 kB / 0.5207 GB, free: 9.602 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.335e-05/0.536, allocations: 36.06 kB / 0.5207 GB, free: 9.566 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: RS2.v:VARIABLE(unit = "V" ) "Voltage drop of the two pins (= p.v - n.v)" type: Real Q2.vcs:VARIABLE(unit = "V" ) type: Real Q1.B.v:VARIABLE(flow=false unit = "V" ) "Potential at the pin" type: Real Q1.vcs:VARIABLE(unit = "V" ) type: Real Q2.Einternal:VARIABLE(unit = "V" ) type: Real 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.0002162/0.5362, allocations: 138.4 kB / 0.5209 GB, free: 9.426 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001467/0.5377, allocations: 0.95 MB / 0.5218 GB, free: 8.469 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/0.5379, allocations: 201.7 kB / 0.522 GB, free: 8.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/0.5399, allocations: 1.092 MB / 0.5231 GB, free: 7.164 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.5399, allocations: 4 kB / 0.5231 GB, free: 7.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.5399, allocations: 4.125 kB / 0.5231 GB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.54, allocations: 3.984 kB / 0.5231 GB, free: 7.152 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.541, allocations: 0.9194 MB / 0.524 GB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.212e-05/0.5411, allocations: 71.97 kB / 0.524 GB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003802/0.5415, allocations: 75.89 kB / 0.5241 GB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009912/0.5425, allocations: 0.6658 MB / 0.5248 GB, free: 5.375 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.575e-05/0.5426, allocations: 15.98 kB / 0.5248 GB, free: 5.359 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001449/0.544, allocations: 1.249 MB / 0.526 GB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.544, allocations: 0 / 0.526 GB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/0.5459, allocations: 1.296 MB / 0.5273 GB, free: 2.762 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004178/0.5464, allocations: 298.7 kB / 0.5275 GB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/0.5465, allocations: 3.984 kB / 0.5275 GB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004795/0.547, allocations: 39.97 kB / 0.5276 GB, free: 2.406 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.5472, allocations: 52.36 kB / 0.5276 GB, free: 2.355 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.116e-05/0.5472, allocations: 23.98 kB / 0.5277 GB, free: 2.332 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001177/0.5484, allocations: 0.8631 MB / 0.5285 GB, free: 1.449 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5484, allocations: 0 / 0.5285 GB, free: 1.449 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001113/0.5495, allocations: 455.1 kB / 0.5289 GB, free: 1.004 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.2262/0.7758, allocations: 2.346 MB / 0.5312 GB, free: 108.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001544/0.7774, allocations: 0.7035 MB / 0.5319 GB, free: 108.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.7774, allocations: 0 / 0.5319 GB, free: 108.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009021/0.7783, allocations: 460.4 kB / 0.5324 GB, free: 108.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009612/0.7793, allocations: 173.8 kB / 0.5325 GB, free: 108.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005185/0.7845, allocations: 2.62 MB / 0.5351 GB, free: 107.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008921/0.7854, allocations: 1.255 MB / 0.5363 GB, free: 107.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007215/0.7861, allocations: 176.8 kB / 0.5365 GB, free: 107.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006344/0.7868, allocations: 0.6203 MB / 0.5371 GB, free: 107.1 MB / 410.7 MB Notification: Performance of SimCode: time 8.42e-07/0.7868, allocations: 0 / 0.5371 GB, free: 107.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06129/0.8481, allocations: 28.37 MB / 0.5648 GB, free: 105.2 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001482/0.8483, allocations: 155.3 kB / 0.5649 GB, free: 105.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.127/3.975, allocations: 0 / 0.5649 GB, free: 105.1 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)