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: 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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 187 kB / 17.92 MB, free: 3.855 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.196/1.196, allocations: 205.1 MB / 223.7 MB, free: 8.484 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.0008474/0.0008474, allocations: 102.6 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007226/0.0007226, allocations: 43.94 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2067, allocations: 46.61 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.006388/0.2131, allocations: 8.128 MB / 381.9 MB, free: 39.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01067/0.2238, allocations: 11.16 MB / 393.1 MB, free: 30.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001988/0.2258, allocations: 15.94 kB / 393.1 MB, free: 30.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001977/0.2279, allocations: 0.7466 MB / 393.9 MB, free: 29.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003647/0.2316, allocations: 0.9913 MB / 394.9 MB, free: 28.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.2331, allocations: 0.4997 MB / 395.4 MB, free: 27.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002928/0.236, allocations: 2.583 MB / 397.9 MB, free: 25.31 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003326/0.2364, allocations: 318.6 kB / 398.3 MB, free: 24.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000398/0.2368, allocations: 0.509 MB / 398.8 MB, free: 24.47 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004039/0.2372, allocations: 0.6016 MB / 399.4 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.61e-05/0.2373, allocations: 44 kB / 399.4 MB, free: 23.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/0.2386, allocations: 0.6908 MB / 400.1 MB, free: 23.13 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.2387, allocations: 194.7 kB / 400.3 MB, free: 22.94 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004024/0.2391, allocations: 0.753 MB / 401 MB, free: 22.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.2405, allocations: 2.059 MB / 403.1 MB, free: 20.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2405, allocations: 0 / 403.1 MB, free: 20.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.2405, allocations: 0 / 403.1 MB, free: 20.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.2405, allocations: 0 / 403.1 MB, free: 20.11 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.002562/0.2431, allocations: 2.215 MB / 405.3 MB, free: 17.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.2431, allocations: 8.031 kB / 405.3 MB, free: 17.83 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.2433, allocations: 222.3 kB / 405.5 MB, free: 17.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.2446, allocations: 1.3 MB / 406.8 MB, free: 16.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.2446, allocations: 49.3 kB / 406.9 MB, free: 16.19 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-05/0.2447, allocations: 52 kB / 406.9 MB, free: 16.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009907/0.2457, allocations: 0.69 MB / 407.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.2457, allocations: 3.938 kB / 407.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.759e-05/0.2458, allocations: 20 kB / 407.7 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.2458, allocations: 23.98 kB / 407.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.2469, allocations: 0.5634 MB / 408.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002519/0.2494, allocations: 2.541 MB / 410.8 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009549/0.2504, allocations: 0.6116 MB / 411.4 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006713/0.251, allocations: 0.5455 MB / 411.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006054/0.2571, allocations: 7.492 MB / 419.4 MB, free: 2.348 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006523/0.2578, allocations: 378 kB / 419.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 2.875e-06/0.2578, allocations: 0 / 419.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of matching and sorting (n=67): time 0.004754/0.2626, allocations: 2.082 MB / 421.9 MB, free: 15.85 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.2626, allocations: 89.53 kB / 422 MB, free: 15.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/0.2641, allocations: 1.431 MB / 423.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/0.2641, allocations: 45.64 kB / 423.4 MB, free: 14.22 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005679/0.2647, allocations: 0.7977 MB / 424.2 MB, free: 13.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.2649, allocations: 228.6 kB / 424.5 MB, free: 13.19 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.265, allocations: 134.6 kB / 424.6 MB, free: 13.05 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.2651, allocations: 338 kB / 424.9 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000568/0.2657, allocations: 261.8 kB / 425.2 MB, free: 12.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006426/0.2664, allocations: 446.3 kB / 425.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.2676, allocations: 0.744 MB / 426.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.361e-06/0.2676, allocations: 4 kB / 426.4 MB, free: 11.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001839/0.2695, allocations: 1.135 MB / 427.5 MB, free: 9.965 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.2695, allocations: 8 kB / 427.5 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.919e-05/0.2696, allocations: 76.7 kB / 427.6 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/0.2707, allocations: 0.6992 MB / 428.3 MB, free: 9.184 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/0.2711, allocations: 111.8 kB / 428.4 MB, free: 9.074 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.2723, allocations: 1.124 MB / 429.5 MB, free: 7.922 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005534/0.2729, allocations: 91.3 kB / 429.6 MB, free: 7.832 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.859e-05/0.2729, allocations: 32 kB / 429.6 MB, free: 7.801 MB / 314.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.000392/0.2733, allocations: 286.3 kB / 429.9 MB, free: 7.512 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/0.2735, allocations: 209.6 kB / 430.1 MB, free: 7.305 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002127/0.2756, allocations: 1.095 MB / 431.2 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.2757, allocations: 8 kB / 431.2 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2757, allocations: 0 / 431.2 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.2757, allocations: 3.984 kB / 431.2 MB, free: 6.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009996/0.2767, allocations: 0.9676 MB / 432.2 MB, free: 5.156 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.653e-05/0.2768, allocations: 71.98 kB / 432.3 MB, free: 5.086 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003168/0.2771, allocations: 63.94 kB / 432.3 MB, free: 5.023 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009873/0.2781, allocations: 0.6594 MB / 433 MB, free: 4.363 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.403e-05/0.2782, allocations: 27.92 kB / 433 MB, free: 4.336 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.2793, allocations: 1.092 MB / 434.1 MB, free: 3.219 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2793, allocations: 4 kB / 434.1 MB, free: 3.215 MB / 314.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.03687/0.3162, allocations: 19.58 MB / 453.7 MB, free: 14.4 MB / 346.7 MB Error: post-optimization module symbolicJacobian (simulation) failed.