Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_3_cpp_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.001556/0.001562, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.118/2.118, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001135/0.001134, allocations: 94.62 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.697e-05/3.73e-05, allocations: 4 kB / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09725/0.09734, allocations: 47.57 MB / 369.2 MB, free: 2.113 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4525/0.5499, allocations: 91.32 MB / 460.5 MB, free: 1.781 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/0.5502, allocations: 73.41 kB / 460.6 MB, free: 1.746 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2006/0.7508, allocations: 57.37 MB / 0.5058 GB, free: 10.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.7509, allocations: 4 kB / 0.5058 GB, free: 10.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000117/0.751, allocations: 28 kB / 0.5058 GB, free: 10.11 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.005291/0.7563, allocations: 1.733 MB / 0.5075 GB, free: 8.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.7564, allocations: 8.031 kB / 0.5075 GB, free: 8.312 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003129/0.7567, allocations: 106.5 kB / 0.5076 GB, free: 8.199 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005173/0.7572, allocations: 229.3 kB / 0.5079 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003808/0.7611, allocations: 1.255 MB / 0.5091 GB, free: 6.648 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.826e-05/0.7612, allocations: 41.31 kB / 0.5091 GB, free: 6.609 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001841/0.7614, allocations: 52 kB / 0.5092 GB, free: 6.559 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.7633, allocations: 0.6277 MB / 0.5098 GB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.7633, allocations: 4 kB / 0.5098 GB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.7634, allocations: 20 kB / 0.5098 GB, free: 5.895 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.475e-05/0.7635, allocations: 27.88 kB / 0.5098 GB, free: 5.867 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.765, allocations: 469.2 kB / 0.5103 GB, free: 5.406 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007503/0.7726, allocations: 2.594 MB / 0.5128 GB, free: 2.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.774, allocations: 0.5142 MB / 0.5133 GB, free: 2.152 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/0.7752, allocations: 0.4911 MB / 0.5138 GB, free: 1.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01665/0.7919, allocations: 8.763 MB / 0.5224 GB, free: 7.539 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009063/0.7928, allocations: 326.1 kB / 0.5227 GB, free: 7.203 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 4.248e-06/0.7929, allocations: 0 / 0.5227 GB, free: 7.203 MB / 410.7 MB Notification: Performance of matching and sorting (n=67): time 0.002716/0.7956, allocations: 0.868 MB / 0.5235 GB, free: 6.328 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.881e-05/0.7957, allocations: 93.53 kB / 0.5236 GB, free: 6.219 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002909/0.7987, allocations: 1.246 MB / 0.5248 GB, free: 4.934 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001609/0.7989, allocations: 37.7 kB / 0.5249 GB, free: 4.891 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009672/0.7998, allocations: 0.7131 MB / 0.5255 GB, free: 4.176 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003893/0.8003, allocations: 220.7 kB / 0.5258 GB, free: 3.957 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.118e-05/0.8003, allocations: 19.94 kB / 0.5258 GB, free: 3.938 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.8005, allocations: 346.8 kB / 0.5261 GB, free: 3.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006035/0.8011, allocations: 193.8 kB / 0.5263 GB, free: 3.402 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007672/0.8019, allocations: 393.5 kB / 0.5267 GB, free: 2.938 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007315/0.8027, allocations: 257.6 kB / 0.5269 GB, free: 2.688 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.8027, allocations: 0 / 0.5269 GB, free: 2.688 MB / 410.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002451/0.8052, allocations: 0.8552 MB / 0.5278 GB, free: 1.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.55e-05/0.8052, allocations: 8 kB / 0.5278 GB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001848/0.8054, allocations: 75.97 kB / 0.5278 GB, free: 1.738 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002132/0.8076, allocations: 0.6954 MB / 0.5285 GB, free: 1.039 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009336/0.8085, allocations: 127.8 kB / 0.5286 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3029/1.112, allocations: 1.1 MB / 0.5297 GB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/1.113, allocations: 101.4 kB / 0.5298 GB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/1.113, allocations: 38.05 kB / 0.5298 GB, free: 104.8 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.0002373/1.113, allocations: 146.2 kB / 0.53 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004078/1.114, allocations: 201.2 kB / 0.5302 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003687/1.118, allocations: 1.027 MB / 0.5312 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/1.118, allocations: 6.656 kB / 0.5312 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/1.118, allocations: 1.688 kB / 0.5312 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/1.118, allocations: 2.719 kB / 0.5312 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/1.12, allocations: 1.009 MB / 0.5322 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002047/1.12, allocations: 67.42 kB / 0.5322 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000722/1.121, allocations: 74.25 kB / 0.5323 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002017/1.123, allocations: 0.6708 MB / 0.533 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002042/1.123, allocations: 20.25 kB / 0.533 GB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001925/1.125, allocations: 1.084 MB / 0.534 GB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.125, allocations: 1.859 kB / 0.534 GB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003336/1.129, allocations: 1.229 MB / 0.5352 GB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008292/1.13, allocations: 289.7 kB / 0.5355 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003379/1.13, allocations: 14.53 kB / 0.5355 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/1.131, allocations: 46.56 kB / 0.5356 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002681/1.131, allocations: 49.42 kB / 0.5356 GB, free: 103.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.388e-05/1.131, allocations: 24.67 kB / 0.5356 GB, free: 103.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002143/1.134, allocations: 0.9625 MB / 0.5366 GB, free: 103.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.31e-07/1.134, allocations: 1.281 kB / 0.5366 GB, free: 103.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001995/1.136, allocations: 484.5 kB / 0.537 GB, free: 103.2 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.005003/1.141, allocations: 2.232 MB / 0.5392 GB, free: 102.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002624/1.143, allocations: 0.7449 MB / 0.54 GB, free: 102.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/1.143, allocations: 0 / 0.54 GB, free: 102.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001621/1.145, allocations: 473 kB / 0.5404 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.001341/1.146, allocations: 185 kB / 0.5406 GB, free: 102.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009597/1.156, allocations: 2.718 MB / 0.5432 GB, free: 101.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/1.157, allocations: 1.256 MB / 0.5445 GB, free: 101 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/1.158, allocations: 0.6222 MB / 0.5451 GB, free: 100.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.973e-06/1.158, allocations: 0 / 0.5451 GB, free: 100.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.361/4.519, allocations: 31.42 MB / 0.5758 GB, free: 96.03 MB / 410.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_cpp_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)