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.0009648/0.000965, allocations: 179.2 kB / 16.72 MB, free: 5.082 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.179/1.179, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007058/0.0007056, allocations: 92.78 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002778/0.0002778, allocations: 15.98 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1923, allocations: 47.57 MB / 375.2 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.005234/0.1976, allocations: 7.164 MB / 382.3 MB, free: 39.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009114/0.2067, allocations: 10.01 MB / 392.4 MB, free: 31.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009713/0.2077, allocations: 15.94 kB / 392.4 MB, free: 31.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.2093, allocations: 0.6602 MB / 393 MB, free: 30.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002845/0.2122, allocations: 0.9235 MB / 394 MB, free: 29.87 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.2135, allocations: 482.8 kB / 394.4 MB, free: 29.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002971/0.2164, allocations: 2.422 MB / 396.9 MB, free: 26.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004132/0.2169, allocations: 319.1 kB / 397.2 MB, free: 26.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004434/0.2173, allocations: 465.7 kB / 397.6 MB, free: 26.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003737/0.2177, allocations: 0.5474 MB / 398.2 MB, free: 25.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.975e-05/0.2178, allocations: 36 kB / 398.2 MB, free: 25.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001279/0.2191, allocations: 0.6518 MB / 398.9 MB, free: 24.94 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.2192, allocations: 174.8 kB / 399 MB, free: 24.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004269/0.2196, allocations: 0.7201 MB / 399.7 MB, free: 24.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009467/0.2206, allocations: 1.519 MB / 401.3 MB, free: 22.51 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.2206, allocations: 0 / 401.3 MB, free: 22.51 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.2206, allocations: 4 kB / 401.3 MB, free: 22.51 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.552e-05/0.2206, allocations: 0 / 401.3 MB, free: 22.51 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.002326/0.223, allocations: 1.968 MB / 403.2 MB, free: 20.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.223, allocations: 8.031 kB / 403.2 MB, free: 20.47 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.519e-05/0.2231, allocations: 102.7 kB / 403.3 MB, free: 20.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.2233, allocations: 222.3 kB / 403.6 MB, free: 20.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.2245, allocations: 1.312 MB / 404.9 MB, free: 18.76 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.2246, allocations: 45.25 kB / 404.9 MB, free: 18.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.013e-05/0.2246, allocations: 63.91 kB / 405 MB, free: 18.65 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.2257, allocations: 0.7095 MB / 405.7 MB, free: 17.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.2257, allocations: 0 / 405.7 MB, free: 17.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.007e-05/0.2258, allocations: 20 kB / 405.7 MB, free: 17.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.2258, allocations: 23.98 kB / 405.7 MB, free: 17.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.2269, allocations: 0.6102 MB / 406.3 MB, free: 17.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002531/0.2294, allocations: 2.541 MB / 408.9 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.2305, allocations: 0.6817 MB / 409.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007122/0.2312, allocations: 0.5533 MB / 410.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00592/0.2371, allocations: 7.508 MB / 417.6 MB, free: 4.707 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006666/0.2378, allocations: 401.9 kB / 418 MB, free: 4.309 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 2.755e-06/0.2378, allocations: 0 / 418 MB, free: 4.309 MB / 298.7 MB Notification: Performance of matching and sorting (n=67): time 0.004867/0.2427, allocations: 2.153 MB / 420.2 MB, free: 2.117 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.2428, allocations: 93.53 kB / 420.3 MB, free: 2.008 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.2439, allocations: 1.415 MB / 421.7 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.244, allocations: 41.7 kB / 421.7 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005105/0.2445, allocations: 0.8055 MB / 422.5 MB, free: 15.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.2447, allocations: 224.7 kB / 422.7 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.2447, allocations: 16 kB / 422.8 MB, free: 15.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.2448, allocations: 337.9 kB / 423.1 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005912/0.2454, allocations: 273.8 kB / 423.4 MB, free: 14.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007113/0.2461, allocations: 478.2 kB / 423.8 MB, free: 14.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/0.2475, allocations: 0.7793 MB / 424.6 MB, free: 13.44 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.237e-06/0.2475, allocations: 0 / 424.6 MB, free: 13.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001953/0.2494, allocations: 1.175 MB / 425.8 MB, free: 12.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.2495, allocations: 12.66 kB / 425.8 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.662e-05/0.2496, allocations: 76 kB / 425.9 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.2507, allocations: 0.6991 MB / 426.6 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004458/0.2512, allocations: 123.8 kB / 426.7 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.2524, allocations: 1.112 MB / 427.8 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005741/0.253, allocations: 95.41 kB / 427.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.386e-05/0.2531, allocations: 40 kB / 427.9 MB, free: 10.07 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 ($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.0004416/0.2535, allocations: 292.9 kB / 428.2 MB, free: 9.777 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.2537, allocations: 205.5 kB / 428.4 MB, free: 9.574 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002276/0.256, allocations: 1.134 MB / 429.5 MB, free: 8.422 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.256, allocations: 4 kB / 429.5 MB, free: 8.418 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.256, allocations: 3.938 kB / 429.6 MB, free: 8.414 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.256, allocations: 3.984 kB / 429.6 MB, free: 8.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.2571, allocations: 0.987 MB / 430.5 MB, free: 7.367 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.812e-05/0.2572, allocations: 72.06 kB / 430.6 MB, free: 7.297 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000336/0.2575, allocations: 75.94 kB / 430.7 MB, free: 7.223 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00105/0.2586, allocations: 0.6711 MB / 431.4 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-05/0.2586, allocations: 16 kB / 431.4 MB, free: 6.535 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/0.2598, allocations: 1.092 MB / 432.5 MB, free: 5.418 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.2598, allocations: 0 / 432.5 MB, free: 5.418 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002507/0.2624, allocations: 1.413 MB / 433.9 MB, free: 3.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003402/0.2627, allocations: 282.6 kB / 434.2 MB, free: 3.684 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.2628, allocations: 12 kB / 434.2 MB, free: 3.672 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004395/0.2633, allocations: 47.95 kB / 434.2 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.2634, allocations: 44.38 kB / 434.3 MB, free: 3.582 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.996e-05/0.2635, allocations: 27.98 kB / 434.3 MB, free: 3.555 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001112/0.2646, allocations: 0.9331 MB / 435.2 MB, free: 2.602 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2646, allocations: 0 / 435.2 MB, free: 2.602 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009748/0.2656, allocations: 427.4 kB / 435.6 MB, free: 2.184 MB / 314.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.003484/0.2691, allocations: 2.34 MB / 438 MB, free: 15.81 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001936/0.2711, allocations: 0.9014 MB / 438.9 MB, free: 14.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.2711, allocations: 0 / 438.9 MB, free: 14.89 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.2722, allocations: 0.5408 MB / 439.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007754/0.273, allocations: 175 kB / 439.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01766/0.2906, allocations: 10.06 MB / 449.6 MB, free: 3.266 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006756/0.2914, allocations: 1.216 MB / 450.9 MB, free: 2.02 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000633/0.292, allocations: 0.6282 MB / 451.5 MB, free: 1.395 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.292, allocations: 0 / 451.5 MB, free: 1.395 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.008/4.3, allocations: 30.14 MB / 481.6 MB, free: 3.203 MB / 362.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)