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.001459/0.001458, allocations: 188.1 kB / 16.41 MB, free: 5.723 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.983/1.983, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.00121/0.00121, allocations: 100.3 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003894, allocations: 12 kB / 327.1 MB, free: 92 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3331, allocations: 47.56 MB / 374.6 MB, free: 45.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1486/0.4818, allocations: 91.41 MB / 466 MB, free: 5.195 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/0.4821, allocations: 79.95 kB / 466.1 MB, free: 5.117 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4816/0.9638, allocations: 57.54 MB / 0.5114 GB, free: 94.13 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.9638, allocations: 0 / 0.5114 GB, free: 94.13 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.391e-05/0.9639, allocations: 24.53 kB / 0.5114 GB, free: 94.13 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.005258/0.9692, allocations: 2.087 MB / 0.5134 GB, free: 92.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.9693, allocations: 8.406 kB / 0.5135 GB, free: 92.89 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003008/0.9696, allocations: 99.83 kB / 0.5136 GB, free: 92.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004003/0.97, allocations: 228.6 kB / 0.5138 GB, free: 92.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003098/0.9731, allocations: 1.261 MB / 0.515 GB, free: 92.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.785e-05/0.9732, allocations: 46.83 kB / 0.515 GB, free: 92.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.9734, allocations: 60.19 kB / 0.5151 GB, free: 92.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.9754, allocations: 0.709 MB / 0.5158 GB, free: 91.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.9755, allocations: 3.938 kB / 0.5158 GB, free: 91.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.951e-05/0.9756, allocations: 22.94 kB / 0.5158 GB, free: 91.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/0.9757, allocations: 21.36 kB / 0.5158 GB, free: 91.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/0.9778, allocations: 0.6157 MB / 0.5164 GB, free: 91.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005603/0.9835, allocations: 2.593 MB / 0.519 GB, free: 90.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/0.9855, allocations: 0.6633 MB / 0.5196 GB, free: 89.74 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01352/0.999, allocations: 8.68 MB / 0.5281 GB, free: 81.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001263/1, allocations: 405.5 kB / 0.5285 GB, free: 81.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 4.739e-06/1, allocations: 0 / 0.5285 GB, free: 81.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=67): time 0.01123/1.012, allocations: 2.208 MB / 0.5306 GB, free: 80.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.128e-05/1.012, allocations: 84.39 kB / 0.5307 GB, free: 80.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002278/1.014, allocations: 1.269 MB / 0.532 GB, free: 80.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001473/1.014, allocations: 40.36 kB / 0.532 GB, free: 80.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006149/1.015, allocations: 0.7029 MB / 0.5327 GB, free: 79.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002553/1.015, allocations: 224.7 kB / 0.5329 GB, free: 79.15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-05/1.015, allocations: 16 kB / 0.5329 GB, free: 79.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.186e-05/1.015, allocations: 342.8 kB / 0.5332 GB, free: 78.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/1.016, allocations: 269.9 kB / 0.5335 GB, free: 78.53 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/1.017, allocations: 478.2 kB / 0.534 GB, free: 77.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/1.019, allocations: 330.9 kB / 0.5343 GB, free: 77.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/1.019, allocations: 0 / 0.5343 GB, free: 77.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002923/1.021, allocations: 1.009 MB / 0.5353 GB, free: 76.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/1.022, allocations: 8.938 kB / 0.5353 GB, free: 76.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001475/1.022, allocations: 71.98 kB / 0.5353 GB, free: 76.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00174/1.023, allocations: 0.6996 MB / 0.536 GB, free: 75.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008603/1.024, allocations: 127.8 kB / 0.5361 GB, free: 75.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/1.026, allocations: 1.116 MB / 0.5372 GB, free: 74.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/1.028, allocations: 107.2 kB / 0.5373 GB, free: 74.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.684e-05/1.028, allocations: 34.12 kB / 0.5374 GB, free: 74.45 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.0007622/1.028, allocations: 297 kB / 0.5376 GB, free: 74.15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002986/1.029, allocations: 197.7 kB / 0.5378 GB, free: 73.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003892/1.033, allocations: 1.182 MB / 0.539 GB, free: 72.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/1.033, allocations: 4 kB / 0.539 GB, free: 72.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.033, allocations: 0 / 0.539 GB, free: 72.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/1.033, allocations: 3.984 kB / 0.539 GB, free: 72.76 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/1.035, allocations: 1.007 MB / 0.54 GB, free: 71.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001394/1.035, allocations: 71.98 kB / 0.5401 GB, free: 71.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006604/1.035, allocations: 71.88 kB / 0.5401 GB, free: 71.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001635/1.037, allocations: 0.6665 MB / 0.5408 GB, free: 70.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.392e-05/1.037, allocations: 28.05 kB / 0.5408 GB, free: 70.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001733/1.039, allocations: 1.084 MB / 0.5419 GB, free: 69.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.039, allocations: 0 / 0.5419 GB, free: 69.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004333/1.043, allocations: 1.456 MB / 0.5433 GB, free: 68.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007339/1.044, allocations: 302.1 kB / 0.5436 GB, free: 67.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002689/1.044, allocations: 8 kB / 0.5436 GB, free: 67.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008847/1.045, allocations: 51.95 kB / 0.5436 GB, free: 67.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/1.045, allocations: 52.36 kB / 0.5437 GB, free: 67.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.1e-05/1.046, allocations: 20 kB / 0.5437 GB, free: 67.83 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001752/1.047, allocations: 0.98 MB / 0.5446 GB, free: 66.83 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.092e-06/1.047, allocations: 0 / 0.5446 GB, free: 66.83 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001575/1.049, allocations: 495.1 kB / 0.5451 GB, free: 66.34 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.005954/1.055, allocations: 2.445 MB / 0.5475 GB, free: 63.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003249/1.058, allocations: 0.8896 MB / 0.5484 GB, free: 62.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/1.058, allocations: 3.938 kB / 0.5484 GB, free: 62.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001931/1.06, allocations: 0.5409 MB / 0.5489 GB, free: 62.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/1.061, allocations: 175 kB / 0.5491 GB, free: 62.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0256/1.087, allocations: 13.91 MB / 0.5627 GB, free: 47.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006878/1.088, allocations: 1.26 MB / 0.5639 GB, free: 46.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009837/1.089, allocations: 0.6282 MB / 0.5645 GB, free: 45.54 MB / 378.7 MB Notification: Performance of SimCode: time 1.462e-06/1.089, allocations: 0 / 0.5645 GB, free: 45.54 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.148/4.237, allocations: 31.95 MB / 0.5957 GB, free: 13.57 MB / 378.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)