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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 100.5 kB / 16.96 MB, free: 6.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 182 kB / 17.84 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.4 MB / 224 MB, free: 13.02 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004738/0.0004739, allocations: 8 kB / 280.9 MB, free: 3.613 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1083, allocations: 47.59 MB / 328.5 MB, free: 3.957 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.008289/0.1167, allocations: 7.156 MB / 335.6 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01579/0.1325, allocations: 10.01 MB / 345.6 MB, free: 2.73 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002283/0.1349, allocations: 19.88 kB / 345.6 MB, free: 2.711 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002791/0.1377, allocations: 0.6525 MB / 346.3 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0059/0.1436, allocations: 0.9312 MB / 347.2 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002481/0.1461, allocations: 474.8 kB / 347.7 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005584/0.1518, allocations: 2.428 MB / 350.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009617/0.1528, allocations: 310.8 kB / 350.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.1539, allocations: 469.7 kB / 350.9 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.155, allocations: 0.5435 MB / 351.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002875/0.1553, allocations: 36 kB / 351.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002769/0.1581, allocations: 0.6363 MB / 352.1 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003106/0.1584, allocations: 178.8 kB / 352.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008173/0.1592, allocations: 352.6 kB / 352.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002763/0.162, allocations: 1.507 MB / 354.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.162, allocations: 4 kB / 354.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.162, allocations: 0 / 354.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.023e-05/0.1621, allocations: 0 / 354.1 MB, free: 10.16 MB / 302.1 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.004034/0.1662, allocations: 1.999 MB / 356.1 MB, free: 8.102 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.1662, allocations: 8.031 kB / 356.1 MB, free: 8.094 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002449/0.1665, allocations: 102.5 kB / 356.2 MB, free: 7.984 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004706/0.167, allocations: 225.4 kB / 356.5 MB, free: 7.762 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002777/0.1698, allocations: 1.223 MB / 357.7 MB, free: 6.465 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.564e-05/0.1698, allocations: 41.31 kB / 357.7 MB, free: 6.426 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001697/0.17, allocations: 55.98 kB / 357.8 MB, free: 6.371 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.1717, allocations: 0.7095 MB / 358.5 MB, free: 5.648 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.1717, allocations: 0 / 358.5 MB, free: 5.648 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.49e-05/0.1718, allocations: 27.98 kB / 358.5 MB, free: 5.621 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.994e-05/0.1718, allocations: 23.95 kB / 358.5 MB, free: 5.598 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/0.1733, allocations: 0.6102 MB / 359.1 MB, free: 4.984 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004741/0.1781, allocations: 2.546 MB / 361.7 MB, free: 2.305 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.1794, allocations: 0.6545 MB / 362.3 MB, free: 1.641 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009899/0.1805, allocations: 0.5728 MB / 362.9 MB, free: 1.062 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01034/0.1908, allocations: 7.496 MB / 370.4 MB, free: 8.434 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008893/0.1918, allocations: 410 kB / 370.8 MB, free: 8.027 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 4.097e-06/0.1918, allocations: 0 / 370.8 MB, free: 8.027 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.005631/0.1974, allocations: 2.106 MB / 372.9 MB, free: 5.887 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.327e-05/0.1976, allocations: 85.48 kB / 373 MB, free: 5.785 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002367/0.1999, allocations: 1.423 MB / 374.4 MB, free: 4.324 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.277e-05/0.2, allocations: 41.69 kB / 374.5 MB, free: 4.277 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008017/0.2008, allocations: 0.8015 MB / 375.3 MB, free: 3.465 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002487/0.2011, allocations: 220.8 kB / 375.5 MB, free: 3.246 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.2011, allocations: 8 kB / 375.5 MB, free: 3.238 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.2013, allocations: 337.9 kB / 375.8 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006077/0.2019, allocations: 273.9 kB / 376.1 MB, free: 2.633 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007669/0.2027, allocations: 486.2 kB / 376.6 MB, free: 2.074 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007262/0.2034, allocations: 323 kB / 376.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.2035, allocations: 0 / 376.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002374/0.2058, allocations: 1.178 MB / 378.1 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/0.2059, allocations: 8 kB / 378.1 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001231/0.206, allocations: 72 kB / 378.1 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2349/0.4409, allocations: 0.696 MB / 378.8 MB, free: 52.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006481/0.4417, allocations: 128.2 kB / 379 MB, free: 52.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/0.4434, allocations: 1.119 MB / 380.1 MB, free: 52.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009345/0.4444, allocations: 103.3 kB / 380.2 MB, free: 52.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.244e-05/0.4445, allocations: 37.8 kB / 380.2 MB, free: 52.33 MB / 318.1 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.0006264/0.4451, allocations: 289.7 kB / 380.5 MB, free: 52.21 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003262/0.4455, allocations: 202.5 kB / 380.7 MB, free: 52.17 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002686/0.4481, allocations: 1.133 MB / 381.8 MB, free: 52.08 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.4482, allocations: 10.2 kB / 381.8 MB, free: 52.08 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.4482, allocations: 0 / 381.8 MB, free: 52.08 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.4482, allocations: 4.906 kB / 381.8 MB, free: 52.08 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.4496, allocations: 0.9723 MB / 382.8 MB, free: 51.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001189/0.4498, allocations: 69.5 kB / 382.9 MB, free: 51.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003324/0.4501, allocations: 75.09 kB / 383 MB, free: 51.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001349/0.4515, allocations: 0.6655 MB / 383.6 MB, free: 51.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-05/0.4515, allocations: 20.73 kB / 383.6 MB, free: 51.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/0.4528, allocations: 1.083 MB / 384.7 MB, free: 51.14 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4528, allocations: 0.75 kB / 384.7 MB, free: 51.14 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002887/0.4557, allocations: 1.429 MB / 386.1 MB, free: 50.53 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005668/0.4563, allocations: 278.8 kB / 386.4 MB, free: 50.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.4565, allocations: 14.08 kB / 386.4 MB, free: 50.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004395/0.4569, allocations: 44.62 kB / 386.5 MB, free: 50.31 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/0.4571, allocations: 50.48 kB / 386.5 MB, free: 50.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.505e-05/0.4572, allocations: 27.58 kB / 386.6 MB, free: 50.3 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001771/0.459, allocations: 0.931 MB / 387.5 MB, free: 49.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.459, allocations: 0 / 387.5 MB, free: 49.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001419/0.4604, allocations: 431.1 kB / 387.9 MB, free: 49.86 MB / 318.1 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.003858/0.4643, allocations: 2.304 MB / 390.2 MB, free: 48.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002071/0.4664, allocations: 0.8992 MB / 391.1 MB, free: 48.42 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.4664, allocations: 0 / 391.1 MB, free: 48.42 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.4676, allocations: 0.5509 MB / 391.7 MB, free: 48.22 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.4686, allocations: 179.2 kB / 391.8 MB, free: 48.12 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/0.4871, allocations: 10.01 MB / 401.8 MB, free: 41.2 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005875/0.4877, allocations: 1.221 MB / 403.1 MB, free: 39.95 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005859/0.4883, allocations: 162.1 kB / 403.2 MB, free: 39.79 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005139/0.4889, allocations: 0.6243 MB / 403.8 MB, free: 39.16 MB / 318.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4889, allocations: 3.938 kB / 403.9 MB, free: 39.16 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05371/0.5426, allocations: 30.24 MB / 434.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/0.5428, allocations: 240.9 kB / 434.3 MB, free: 8.633 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.298/3.841, allocations: 0 / 434.3 MB, free: 8.633 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) Environment - environmentSimulation: