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.001636/0.00164, allocations: 187 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.147/2.147, allocations: 205.4 MB / 222.5 MB, free: 13.84 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.001188/0.001188, allocations: 106.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00041/0.0004103, allocations: 15.98 kB / 327.1 MB, free: 14.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1051, allocations: 47.57 MB / 374.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.01224/0.1174, allocations: 6.662 MB / 381.3 MB, free: 8.648 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.2837/0.4011, allocations: 9.594 MB / 390.9 MB, free: 8.645 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00185/0.4031, allocations: 17.44 kB / 390.9 MB, free: 8.645 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003518/0.4066, allocations: 0.6883 MB / 391.6 MB, free: 8.645 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005647/0.4123, allocations: 1.075 MB / 392.7 MB, free: 8.633 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003118/0.4155, allocations: 481.2 kB / 393.1 MB, free: 8.625 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.008068/0.4237, allocations: 2.45 MB / 395.6 MB, free: 8.609 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008766/0.4246, allocations: 300.3 kB / 395.9 MB, free: 8.527 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001492/0.4261, allocations: 465.1 kB / 396.3 MB, free: 8.527 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001664/0.4278, allocations: 0.5529 MB / 396.9 MB, free: 8.457 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003394/0.4282, allocations: 36.28 kB / 396.9 MB, free: 8.457 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003278/0.4315, allocations: 0.6751 MB / 397.6 MB, free: 8.457 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005142/0.4321, allocations: 172.2 kB / 397.8 MB, free: 8.395 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00091/0.433, allocations: 353 kB / 398.1 MB, free: 8.297 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004061/0.4371, allocations: 1.487 MB / 399.6 MB, free: 8.113 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4372, allocations: 0 / 399.6 MB, free: 8.113 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.118e-06/0.4372, allocations: 0 / 399.6 MB, free: 8.113 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001125/0.4373, allocations: 0 / 399.6 MB, free: 8.113 MB / 282.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.006001/0.4433, allocations: 1.982 MB / 401.6 MB, free: 6.926 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.4434, allocations: 14.94 kB / 401.6 MB, free: 6.922 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003585/0.4438, allocations: 103.8 kB / 401.7 MB, free: 6.883 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004446/0.4442, allocations: 221.7 kB / 401.9 MB, free: 6.773 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003499/0.4477, allocations: 1.226 MB / 403.1 MB, free: 6.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.339e-05/0.4479, allocations: 38.59 kB / 403.2 MB, free: 6.32 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/0.4481, allocations: 57.03 kB / 403.2 MB, free: 6.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/0.4504, allocations: 0.708 MB / 403.9 MB, free: 6.246 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/0.4505, allocations: 5.219 kB / 403.9 MB, free: 6.242 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-05/0.4506, allocations: 21.5 kB / 404 MB, free: 6.242 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.355e-05/0.4507, allocations: 18.09 kB / 404 MB, free: 6.242 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002482/0.4532, allocations: 0.6115 MB / 404.6 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007107/0.4603, allocations: 2.553 MB / 407.2 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002476/0.4629, allocations: 0.664 MB / 407.8 MB, free: 4.945 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01383/0.4767, allocations: 7.538 MB / 415.4 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001574/0.4784, allocations: 401.3 kB / 415.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 5.951e-06/0.4784, allocations: 0 / 415.7 MB, free: 14.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=67): time 0.01102/0.4895, allocations: 2.122 MB / 417.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.889e-05/0.4896, allocations: 93.94 kB / 418 MB, free: 13.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002684/0.4923, allocations: 1.417 MB / 419.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001719/0.4925, allocations: 36.39 kB / 419.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008184/0.4934, allocations: 0.7008 MB / 420.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003408/0.4937, allocations: 225.8 kB / 420.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.033e-05/0.4938, allocations: 16.91 kB / 420.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.494, allocations: 343.7 kB / 420.7 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.4951, allocations: 275.5 kB / 421 MB, free: 11.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.4964, allocations: 468.2 kB / 421.4 MB, free: 11.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.4976, allocations: 331.8 kB / 421.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.4976, allocations: 2.844 kB / 421.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003407/0.501, allocations: 1.013 MB / 422.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.5011, allocations: 17.77 kB / 422.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001784/0.5013, allocations: 75.98 kB / 422.8 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002083/0.5034, allocations: 0.6913 MB / 423.5 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009281/0.5043, allocations: 119.8 kB / 423.7 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002375/0.5067, allocations: 1.12 MB / 424.8 MB, free: 8.039 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/0.5084, allocations: 107.3 kB / 424.9 MB, free: 7.934 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.5085, allocations: 32 kB / 424.9 MB, free: 7.902 MB / 298.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.0009071/0.5094, allocations: 286.5 kB / 425.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005101/0.5099, allocations: 211.2 kB / 425.4 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005669/0.5156, allocations: 1.146 MB / 426.5 MB, free: 6.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.5157, allocations: 8 kB / 426.5 MB, free: 6.242 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.5157, allocations: 0 / 426.5 MB, free: 6.242 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.5157, allocations: 0 / 426.5 MB, free: 6.242 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002294/0.518, allocations: 0.9734 MB / 427.5 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001854/0.5183, allocations: 71.97 kB / 427.6 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006859/0.5189, allocations: 71.94 kB / 427.7 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002135/0.5211, allocations: 0.6597 MB / 428.3 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/0.5212, allocations: 20 kB / 428.3 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002139/0.5234, allocations: 1.096 MB / 429.4 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.5234, allocations: 0 / 429.4 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004898/0.5283, allocations: 1.418 MB / 430.9 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008589/0.5292, allocations: 282.6 kB / 431.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002711/0.5295, allocations: 12 kB / 431.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009184/0.5305, allocations: 51.95 kB / 431.2 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002339/0.5307, allocations: 53.19 kB / 431.2 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.5308, allocations: 24 kB / 431.3 MB, free: 1.406 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00224/0.5331, allocations: 0.9253 MB / 432.2 MB, free: 472 kB / 298.7 MB Notification: Performance of sort global known variables: time 1.072e-06/0.5332, allocations: 0 / 432.2 MB, free: 472 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.001927/0.5351, allocations: 435.4 kB / 432.6 MB, free: 36 kB / 298.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.006322/0.5414, allocations: 2.311 MB / 434.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00359/0.5451, allocations: 0.8975 MB / 435.8 MB, free: 12.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.5451, allocations: 3.938 kB / 435.8 MB, free: 12.83 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002159/0.5473, allocations: 0.5418 MB / 436.4 MB, free: 12.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.5486, allocations: 171 kB / 436.5 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03477/0.5834, allocations: 13.71 MB / 450.2 MB, free: 13.53 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/0.5846, allocations: 1.247 MB / 451.5 MB, free: 12.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/0.5858, allocations: 0.6282 MB / 452.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of SimCode: time 1.844e-06/0.5858, allocations: 0 / 452.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.184/3.769, allocations: 30.69 MB / 482.8 MB, free: 12.9 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)