Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009869/0.0009868, allocations: 105.8 kB / 291.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007915/0.0007916, allocations: 43.94 kB / 350 MB, free: 48 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1954, allocations: 49.43 MB / 399.5 MB, free: 33.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.006022/0.2014, allocations: 8.274 MB / 407.7 MB, free: 25.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01068/0.2122, allocations: 11.52 MB / 419.3 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001871/0.2141, allocations: 15.94 kB / 419.3 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002083/0.2162, allocations: 0.7612 MB / 420 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0031/0.2194, allocations: 0.9875 MB / 421 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.2208, allocations: 0.5114 MB / 421.5 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003687/0.2245, allocations: 2.619 MB / 424.2 MB, free: 8.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003865/0.2249, allocations: 326.6 kB / 424.5 MB, free: 8.227 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005478/0.2255, allocations: 0.5207 MB / 425 MB, free: 7.703 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004346/0.2259, allocations: 0.6016 MB / 425.6 MB, free: 7.098 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.089e-05/0.226, allocations: 48 kB / 425.6 MB, free: 7.051 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.2275, allocations: 0.7687 MB / 426.4 MB, free: 6.281 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.2277, allocations: 194.7 kB / 426.6 MB, free: 6.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004527/0.2281, allocations: 0.7413 MB / 427.3 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00161/0.2297, allocations: 2.07 MB / 429.4 MB, free: 3.266 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2297, allocations: 0 / 429.4 MB, free: 3.266 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.2298, allocations: 0 / 429.4 MB, free: 3.266 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.062e-05/0.2298, allocations: 7.938 kB / 429.4 MB, free: 3.258 MB / 298.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.002812/0.2326, allocations: 2.211 MB / 431.6 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.2327, allocations: 12.02 kB / 431.6 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.2328, allocations: 222.3 kB / 431.9 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.2344, allocations: 1.293 MB / 433.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.457e-05/0.2345, allocations: 45.25 kB / 433.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.27e-05/0.2346, allocations: 59.97 kB / 433.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/0.2358, allocations: 0.6939 MB / 434 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.2359, allocations: 0 / 434 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.236, allocations: 20 kB / 434 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.236, allocations: 19.94 kB / 434 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.2373, allocations: 0.5712 MB / 434.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00376/0.2411, allocations: 2.534 MB / 437.1 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.2423, allocations: 0.6116 MB / 437.7 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008329/0.2431, allocations: 0.5393 MB / 438.2 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008203/0.2513, allocations: 7.5 MB / 445.7 MB, free: 1.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007611/0.2521, allocations: 382 kB / 446.1 MB, free: 1.121 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 2.855e-06/0.2521, allocations: 0 / 446.1 MB, free: 1.121 MB / 314.7 MB Notification: Performance of matching and sorting (n=67): time 0.00564/0.2578, allocations: 2.078 MB / 448.2 MB, free: 15.01 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.2579, allocations: 85.55 kB / 448.3 MB, free: 14.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/0.2595, allocations: 1.435 MB / 449.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.923e-05/0.2596, allocations: 33.7 kB / 449.8 MB, free: 13.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006206/0.2602, allocations: 0.8093 MB / 450.6 MB, free: 12.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.2604, allocations: 220.8 kB / 450.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/0.2606, allocations: 142.5 kB / 450.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.2607, allocations: 337.9 kB / 451.2 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005803/0.2613, allocations: 249.8 kB / 451.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000677/0.262, allocations: 462.3 kB / 451.9 MB, free: 11.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.2632, allocations: 0.7324 MB / 452.7 MB, free: 10.28 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.2633, allocations: 0 / 452.7 MB, free: 10.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001979/0.2652, allocations: 1.143 MB / 453.8 MB, free: 9.125 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.2653, allocations: 8 kB / 453.8 MB, free: 9.117 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.409e-05/0.2654, allocations: 72.7 kB / 453.9 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.2665, allocations: 0.6914 MB / 454.6 MB, free: 8.352 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/0.267, allocations: 119.7 kB / 454.7 MB, free: 8.234 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.2682, allocations: 1.132 MB / 455.8 MB, free: 7.074 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006559/0.2689, allocations: 91.23 kB / 455.9 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.438e-05/0.269, allocations: 40 kB / 456 MB, free: 6.945 MB / 330.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 (VCC.counter,$PRE.VCC.counter,VEE.counter,$PRE.VEE.counter,VEE.counter2,$PRE.VEE.counter2,VEE.T0,$PRE.VEE.T0,VCC.counter2,$PRE.VCC.counter2,VCC.T0,$PRE.VCC.T0,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0004559/0.2694, allocations: 287.8 kB / 456.2 MB, free: 6.656 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.2696, allocations: 201.6 kB / 456.4 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002321/0.272, allocations: 1.095 MB / 457.5 MB, free: 5.348 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.272, allocations: 8 kB / 457.5 MB, free: 5.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.272, allocations: 3.938 kB / 457.5 MB, free: 5.336 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.272, allocations: 0 / 457.5 MB, free: 5.336 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.2731, allocations: 0.9756 MB / 458.5 MB, free: 4.305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.307e-05/0.2732, allocations: 71.98 kB / 458.6 MB, free: 4.234 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.2735, allocations: 55.95 kB / 458.6 MB, free: 4.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001034/0.2745, allocations: 0.6672 MB / 459.3 MB, free: 3.512 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.751e-05/0.2746, allocations: 23.98 kB / 459.3 MB, free: 3.488 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/0.2758, allocations: 1.092 MB / 460.4 MB, free: 2.371 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2758, allocations: 8 kB / 460.4 MB, free: 2.363 MB / 330.7 MB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03825/0.3141, allocations: 19.57 MB / 480 MB, free: 13.56 MB / 362.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.