Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001173/0.001173, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009457/0.0009457, allocations: 110.8 kB / 296.7 MB, free: 6.488 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008829/0.0008829, allocations: 43.92 kB / 356.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.184, allocations: 50.46 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.00557/0.1896, allocations: 8.271 MB / 415.3 MB, free: 19.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009002/0.1987, allocations: 11.58 MB / 426.9 MB, free: 7.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008466/0.1995, allocations: 19.94 kB / 426.9 MB, free: 7.891 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00156/0.2011, allocations: 0.7534 MB / 427.7 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002588/0.2037, allocations: 1.003 MB / 428.7 MB, free: 6.121 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.205, allocations: 0.5114 MB / 429.2 MB, free: 5.613 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003157/0.2082, allocations: 2.65 MB / 431.8 MB, free: 2.949 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004032/0.2086, allocations: 322.6 kB / 432.2 MB, free: 2.609 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005448/0.2092, allocations: 0.5285 MB / 432.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004117/0.2096, allocations: 0.6055 MB / 433.3 MB, free: 1.469 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.2097, allocations: 44 kB / 433.3 MB, free: 1.426 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.2115, allocations: 0.7765 MB / 434.1 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.2116, allocations: 194.7 kB / 434.3 MB, free: 468 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000533/0.2122, allocations: 0.753 MB / 435.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001995/0.2142, allocations: 2.066 MB / 437.1 MB, free: 13.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2142, allocations: 0 / 437.1 MB, free: 13.62 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2142, allocations: 4 kB / 437.1 MB, free: 13.62 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.2142, allocations: 0 / 437.1 MB, free: 13.62 MB / 314.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.003312/0.2175, allocations: 2.215 MB / 439.3 MB, free: 11.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.2176, allocations: 8.031 kB / 439.3 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003988/0.218, allocations: 234.3 kB / 439.6 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.2196, allocations: 1.301 MB / 440.9 MB, free: 9.734 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/0.2197, allocations: 49.25 kB / 440.9 MB, free: 9.684 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.104e-05/0.2198, allocations: 52 kB / 441 MB, free: 9.633 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.221, allocations: 0.6861 MB / 441.7 MB, free: 8.934 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.221, allocations: 0 / 441.7 MB, free: 8.934 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-05/0.2211, allocations: 27.94 kB / 441.7 MB, free: 8.906 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.2211, allocations: 23.98 kB / 441.7 MB, free: 8.883 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.2224, allocations: 0.5634 MB / 442.3 MB, free: 8.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003213/0.2256, allocations: 2.534 MB / 444.8 MB, free: 5.656 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.2268, allocations: 0.6154 MB / 445.4 MB, free: 5.031 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008509/0.2276, allocations: 0.5454 MB / 446 MB, free: 4.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006722/0.2344, allocations: 5.884 MB / 451.9 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008073/0.2352, allocations: 411.2 kB / 452.3 MB, free: 13.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=73): time 2.726e-06/0.2352, allocations: 0 / 452.3 MB, free: 13.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=73): time 0.006628/0.2418, allocations: 2.422 MB / 454.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.2419, allocations: 93.55 kB / 454.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/0.2434, allocations: 1.422 MB / 456.2 MB, free: 9.363 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/0.2434, allocations: 37.7 kB / 456.2 MB, free: 9.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005679/0.244, allocations: 0.7862 MB / 457 MB, free: 8.523 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.2442, allocations: 244.5 kB / 457.3 MB, free: 8.281 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.2444, allocations: 138.6 kB / 457.4 MB, free: 8.141 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.2445, allocations: 341.9 kB / 457.7 MB, free: 7.801 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006039/0.2451, allocations: 261.9 kB / 458 MB, free: 7.543 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007336/0.2459, allocations: 442.1 kB / 458.4 MB, free: 7.039 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003149/0.249, allocations: 1.552 MB / 460 MB, free: 5.418 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.249, allocations: 4 kB / 460 MB, free: 5.414 MB / 330.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001984/0.251, allocations: 1.152 MB / 461.1 MB, free: 4.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.2511, allocations: 8 kB / 461.1 MB, free: 4.242 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-05/0.2512, allocations: 83.98 kB / 461.2 MB, free: 4.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009202/0.2521, allocations: 0.6031 MB / 461.8 MB, free: 3.555 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000551/0.2527, allocations: 135.8 kB / 461.9 MB, free: 3.422 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/0.2541, allocations: 1.521 MB / 463.5 MB, free: 1.852 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000953/0.255, allocations: 91.38 kB / 463.6 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.554e-05/0.2551, allocations: 35.98 kB / 463.6 MB, free: 1.727 MB / 330.7 MB Warning: Assuming fixed start value for the following 2 variables: Q2.vbc:VARIABLE(start = 0.0 unit = "V" fixed = true ) type: Real Q2.vbx:VARIABLE(unit = "V" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,12), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0007084/0.2559, allocations: 298.8 kB / 463.9 MB, free: 1.426 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002844/0.2562, allocations: 197.7 kB / 464.1 MB, free: 1.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003558/0.2597, allocations: 1.169 MB / 465.2 MB, free: 48 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.2598, allocations: 4 kB / 465.2 MB, free: 44 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.2598, allocations: 4 kB / 465.3 MB, free: 40 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.2598, allocations: 0 / 465.3 MB, free: 40 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.2615, allocations: 1.006 MB / 466.3 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000147/0.2617, allocations: 79.98 kB / 466.3 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005819/0.2622, allocations: 71.88 kB / 466.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001683/0.2639, allocations: 0.6475 MB / 467.1 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-05/0.264, allocations: 23.98 kB / 467.1 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/0.2659, allocations: 1.134 MB / 468.2 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.2659, allocations: 0 / 468.2 MB, free: 12.99 MB / 346.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.05897/0.3249, allocations: 19.72 MB / 487.9 MB, free: 8.184 MB / 362.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.