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.00161/0.00161, allocations: 181.3 kB / 17.01 MB, free: 5.125 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.345/1.345, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.0008355, allocations: 90.58 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002588/0.0002588, allocations: 8 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2541, allocations: 47.56 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1048/0.3589, allocations: 91.41 MB / 467.3 MB, free: 5.199 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.3592, allocations: 75.91 kB / 467.4 MB, free: 5.125 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2719/0.6311, allocations: 57.54 MB / 0.5126 GB, free: 94.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6312, allocations: 0 / 0.5126 GB, free: 94.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.209e-05/0.6312, allocations: 27.06 kB / 0.5127 GB, free: 94.49 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.003022/0.6342, allocations: 2.083 MB / 0.5147 GB, free: 93.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.6343, allocations: 9.844 kB / 0.5147 GB, free: 93.25 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001003/0.6344, allocations: 101.5 kB / 0.5148 GB, free: 93.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.6346, allocations: 223.4 kB / 0.515 GB, free: 93.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/0.6361, allocations: 1.268 MB / 0.5162 GB, free: 92.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.6362, allocations: 39.78 kB / 0.5163 GB, free: 92.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.23e-05/0.6363, allocations: 59.5 kB / 0.5163 GB, free: 92.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.6373, allocations: 0.7114 MB / 0.517 GB, free: 92.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.6373, allocations: 0 / 0.517 GB, free: 92.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.136e-05/0.6374, allocations: 23.19 kB / 0.5171 GB, free: 92.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.6374, allocations: 14.72 kB / 0.5171 GB, free: 92.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.6385, allocations: 0.6233 MB / 0.5177 GB, free: 91.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002887/0.6414, allocations: 2.591 MB / 0.5202 GB, free: 90.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009923/0.6424, allocations: 0.6626 MB / 0.5209 GB, free: 90.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007849/0.6502, allocations: 8.688 MB / 0.5293 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006866/0.651, allocations: 403.2 kB / 0.5297 GB, free: 82.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 2.235e-06/0.651, allocations: 0 / 0.5297 GB, free: 82.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=67): time 0.005327/0.6563, allocations: 2.199 MB / 0.5319 GB, free: 81.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.6564, allocations: 95.59 kB / 0.532 GB, free: 81.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.6578, allocations: 1.265 MB / 0.5332 GB, free: 80.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.134e-05/0.6578, allocations: 37.7 kB / 0.5332 GB, free: 80.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004758/0.6583, allocations: 0.8055 MB / 0.534 GB, free: 79.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.6584, allocations: 224.7 kB / 0.5342 GB, free: 79.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.6585, allocations: 16 kB / 0.5343 GB, free: 79.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.786e-05/0.6585, allocations: 330 kB / 0.5346 GB, free: 78.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004986/0.659, allocations: 277.8 kB / 0.5348 GB, free: 78.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005459/0.6596, allocations: 475.5 kB / 0.5353 GB, free: 77.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005417/0.6602, allocations: 330.9 kB / 0.5356 GB, free: 77.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.6602, allocations: 4 kB / 0.5356 GB, free: 77.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001751/0.6619, allocations: 1.167 MB / 0.5367 GB, free: 76.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.662, allocations: 11.94 kB / 0.5368 GB, free: 76.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.829e-05/0.662, allocations: 76.69 kB / 0.5368 GB, free: 76.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009366/0.663, allocations: 0.6952 MB / 0.5375 GB, free: 75.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004125/0.6634, allocations: 123.8 kB / 0.5376 GB, free: 75.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009487/0.6644, allocations: 1.12 MB / 0.5387 GB, free: 74.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006756/0.6651, allocations: 105.1 kB / 0.5388 GB, free: 74.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-05/0.6651, allocations: 36 kB / 0.5389 GB, free: 74.27 MB / 378.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 () * Number of clocked 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.0004511/0.6656, allocations: 292.8 kB / 0.5391 GB, free: 73.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.6657, allocations: 205.5 kB / 0.5393 GB, free: 73.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002002/0.6678, allocations: 1.174 MB / 0.5405 GB, free: 72.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.6678, allocations: 7.938 kB / 0.5405 GB, free: 72.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.6678, allocations: 4 kB / 0.5405 GB, free: 72.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.6678, allocations: 3.984 kB / 0.5405 GB, free: 72.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008431/0.6686, allocations: 1.015 MB / 0.5415 GB, free: 71.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.659e-05/0.6687, allocations: 69.98 kB / 0.5416 GB, free: 71.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003204/0.669, allocations: 71.88 kB / 0.5416 GB, free: 71.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000827/0.6699, allocations: 0.6626 MB / 0.5423 GB, free: 70.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.344e-05/0.6699, allocations: 27.98 kB / 0.5423 GB, free: 70.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008975/0.6708, allocations: 1.081 MB / 0.5433 GB, free: 69.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.6709, allocations: 0 / 0.5433 GB, free: 69.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/0.6729, allocations: 1.456 MB / 0.5448 GB, free: 68.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003885/0.6733, allocations: 294.6 kB / 0.5451 GB, free: 67.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.6735, allocations: 11.98 kB / 0.5451 GB, free: 67.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004412/0.6739, allocations: 47.97 kB / 0.5451 GB, free: 67.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.674, allocations: 52.36 kB / 0.5452 GB, free: 67.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.145e-05/0.6741, allocations: 23.98 kB / 0.5452 GB, free: 67.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009361/0.675, allocations: 0.98 MB / 0.5461 GB, free: 66.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.675, allocations: 4 kB / 0.5461 GB, free: 66.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00092/0.676, allocations: 495.1 kB / 0.5466 GB, free: 66.17 MB / 378.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) * Number of clocked states: 0 () * 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.003053/0.679, allocations: 2.442 MB / 0.549 GB, free: 63.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001642/0.6807, allocations: 0.8929 MB / 0.5499 GB, free: 62.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.6807, allocations: 4.125 kB / 0.5499 GB, free: 62.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009226/0.6816, allocations: 0.5407 MB / 0.5504 GB, free: 62.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006755/0.6823, allocations: 175.5 kB / 0.5506 GB, free: 62.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/0.698, allocations: 13.87 MB / 0.5641 GB, free: 47.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004645/0.6985, allocations: 1.256 MB / 0.5653 GB, free: 46.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005583/0.6991, allocations: 178.6 kB / 0.5655 GB, free: 45.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005182/0.6996, allocations: 0.6243 MB / 0.5661 GB, free: 45.26 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6996, allocations: 0 / 0.5661 GB, free: 45.26 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04917/0.7488, allocations: 32.37 MB / 0.5977 GB, free: 12.88 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/0.749, allocations: 232.5 kB / 0.598 GB, free: 12.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.998/3.747, allocations: 3.938 kB / 0.598 GB, free: 12.63 MB / 378.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)