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: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001072/0.001072, allocations: 195.1 kB / 8.537 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.119/1.119, allocations: 225.5 MB / 234.4 MB, free: 3.445 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008255/0.0008255, allocations: 93.98 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0856/0.08645, allocations: 56.9 MB / 343.2 MB, free: 8.688 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07564/0.1621, allocations: 51.48 MB / 394.7 MB, free: 5.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2065/0.3687, allocations: 93.68 MB / 488.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001726/0.3689, allocations: 70.95 kB / 488.5 MB, free: 15.62 MB / 362.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.1217/0.4906, allocations: 60.36 MB / 0.536 GB, free: 8.582 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.4907, allocations: 8 kB / 0.536 GB, free: 8.574 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004213/0.4911, allocations: 241.4 kB / 0.5362 GB, free: 8.336 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/0.4929, allocations: 1.247 MB / 0.5374 GB, free: 7.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.493, allocations: 16 kB / 0.5374 GB, free: 7.004 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-05/0.4931, allocations: 36 kB / 0.5375 GB, free: 6.969 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007354/0.4938, allocations: 446.3 kB / 0.5379 GB, free: 6.535 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008374/0.4947, allocations: 0.5548 MB / 0.5384 GB, free: 5.973 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.4947, allocations: 6.094 kB / 0.5384 GB, free: 5.969 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.742e-05/0.4947, allocations: 0 / 0.5384 GB, free: 5.969 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.4948, allocations: 19.98 kB / 0.5385 GB, free: 5.949 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003388/0.4982, allocations: 2.491 MB / 0.5409 GB, free: 3.348 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005751/0.4987, allocations: 448.6 kB / 0.5413 GB, free: 2.898 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005309/0.4993, allocations: 466.1 kB / 0.5418 GB, free: 2.441 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009179/0.5085, allocations: 8.733 MB / 0.5503 GB, free: 8.355 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000423/0.5089, allocations: 301.7 kB / 0.5506 GB, free: 8.043 MB / 426.7 MB Notification: Performance of pre-optimization done (n=67): time 2.094e-06/0.5089, allocations: 0 / 0.5506 GB, free: 8.043 MB / 426.7 MB Notification: Performance of matching and sorting (n=67): time 0.00155/0.5105, allocations: 0.9196 MB / 0.5515 GB, free: 7.113 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.5105, allocations: 89.55 kB / 0.5516 GB, free: 7.008 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.5119, allocations: 1.152 MB / 0.5527 GB, free: 5.824 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.293e-05/0.5119, allocations: 25.7 kB / 0.5527 GB, free: 5.793 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000258/0.5122, allocations: 412.8 kB / 0.5531 GB, free: 5.379 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.5124, allocations: 228.6 kB / 0.5533 GB, free: 5.152 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.5124, allocations: 0 / 0.5533 GB, free: 5.152 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.5125, allocations: 334 kB / 0.5536 GB, free: 4.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/0.5128, allocations: 185.8 kB / 0.5538 GB, free: 4.641 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003908/0.5132, allocations: 373.8 kB / 0.5542 GB, free: 4.195 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005832/0.5138, allocations: 326.7 kB / 0.5545 GB, free: 3.875 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.5138, allocations: 0 / 0.5545 GB, free: 3.875 MB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001617/0.5154, allocations: 1.045 MB / 0.5555 GB, free: 2.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.5155, allocations: 7.984 kB / 0.5555 GB, free: 2.812 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001199/0.5156, allocations: 71.98 kB / 0.5556 GB, free: 2.742 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/0.5168, allocations: 0.6718 MB / 0.5562 GB, free: 2.066 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005166/0.5173, allocations: 127.8 kB / 0.5564 GB, free: 1.941 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/0.5191, allocations: 1.284 MB / 0.5576 GB, free: 0.6328 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007051/0.5198, allocations: 91.23 kB / 0.5577 GB, free: 0.543 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.505e-05/0.5199, allocations: 44 kB / 0.5577 GB, free: 0.4961 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: RS2.v:VARIABLE(unit = "V" ) "Voltage drop of the two pins (= p.v - n.v)" type: Real Q2.vcs:VARIABLE(unit = "V" ) type: Real Q1.B.v:VARIABLE(flow=false unit = "V" ) "Potential at the pin" type: Real Q1.vcs:VARIABLE(unit = "V" ) type: Real Q2.Einternal:VARIABLE(unit = "V" ) type: Real 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 () * 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.0002044/0.5202, allocations: 125.3 kB / 0.5579 GB, free: 376 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002192/0.5204, allocations: 201.7 kB / 0.5581 GB, free: 172 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002531/0.5229, allocations: 1.157 MB / 0.5592 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.769e-06/0.5229, allocations: 8 kB / 0.5592 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5229, allocations: 0 / 0.5592 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.523, allocations: 7.984 kB / 0.5592 GB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.5241, allocations: 0.9177 MB / 0.5601 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001095/0.5242, allocations: 71.98 kB / 0.5602 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003921/0.5246, allocations: 71.94 kB / 0.5602 GB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/0.5257, allocations: 0.6739 MB / 0.5609 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.475e-05/0.5258, allocations: 8 kB / 0.5609 GB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/0.5273, allocations: 1.267 MB / 0.5621 GB, free: 11.92 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.5273, allocations: 3.906 kB / 0.5621 GB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001898/0.5292, allocations: 1.255 MB / 0.5634 GB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002374/0.5316, allocations: 1.939 MB / 0.5653 GB, free: 8.66 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004281/0.5321, allocations: 298.5 kB / 0.5655 GB, free: 8.348 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/0.5323, allocations: 8 kB / 0.5656 GB, free: 8.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005335/0.5328, allocations: 47.95 kB / 0.5656 GB, free: 8.293 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.533, allocations: 44.36 kB / 0.5656 GB, free: 8.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.856e-05/0.533, allocations: 27.98 kB / 0.5657 GB, free: 8.223 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.001066/0.5341, allocations: 0.867 MB / 0.5665 GB, free: 7.336 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001575/0.5357, allocations: 475.1 kB / 0.567 GB, free: 6.871 MB / 442.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) * 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.0009052/0.5366, allocations: 0.6244 MB / 0.5676 GB, free: 6.234 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.5379, allocations: 0.6957 MB / 0.5683 GB, free: 5.535 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.5379, allocations: 0 / 0.5683 GB, free: 5.535 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008465/0.5388, allocations: 466.3 kB / 0.5687 GB, free: 5.066 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000737/0.5395, allocations: 195 kB / 0.5689 GB, free: 4.875 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004586/0.5441, allocations: 2.383 MB / 0.5712 GB, free: 2.445 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008691/0.545, allocations: 1.348 MB / 0.5725 GB, free: 1.066 MB / 442.7 MB Notification: Performance of SimCode: time 4.21e-07/0.545, allocations: 0 / 0.5725 GB, free: 1.066 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)