Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 175.4 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 221.3 MB / 235.5 MB, free: 2.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008552/0.0008553, allocations: 82.55 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.876e-05/2.9e-05, allocations: 4 kB / 343.9 MB, free: 4.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09843/0.09848, allocations: 50.41 MB / 394.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3557/0.4543, allocations: 93.61 MB / 487.9 MB, free: 9.824 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.4546, allocations: 75.95 kB / 488 MB, free: 9.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1257/0.5803, allocations: 61.08 MB / 0.5362 GB, free: 12.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.5803, allocations: 0 / 0.5362 GB, free: 12.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.745e-05/0.5804, allocations: 31.94 kB / 0.5363 GB, free: 12.49 MB / 426.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.003304/0.5837, allocations: 1.728 MB / 0.5379 GB, free: 10.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.5838, allocations: 8.031 kB / 0.538 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000175/0.5839, allocations: 102.5 kB / 0.5381 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003225/0.5843, allocations: 225.4 kB / 0.5383 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/0.5865, allocations: 1.255 MB / 0.5395 GB, free: 9.039 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.5865, allocations: 45.31 kB / 0.5395 GB, free: 8.996 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.5866, allocations: 55.91 kB / 0.5396 GB, free: 8.941 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009826/0.5876, allocations: 0.6238 MB / 0.5402 GB, free: 8.305 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.5876, allocations: 0 / 0.5402 GB, free: 8.305 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.973e-05/0.5877, allocations: 24 kB / 0.5402 GB, free: 8.281 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/0.5877, allocations: 23.98 kB / 0.5402 GB, free: 8.258 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007594/0.5885, allocations: 469.1 kB / 0.5407 GB, free: 7.801 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004354/0.5929, allocations: 2.594 MB / 0.5432 GB, free: 5.074 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007922/0.5937, allocations: 0.5185 MB / 0.5437 GB, free: 4.543 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006557/0.5944, allocations: 491 kB / 0.5442 GB, free: 4.062 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2236/0.8179, allocations: 8.764 MB / 0.5528 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005605/0.8186, allocations: 325.1 kB / 0.5531 GB, free: 101.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=67): time 3.085e-06/0.8186, allocations: 0 / 0.5531 GB, free: 101.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=67): time 0.00156/0.8201, allocations: 0.8828 MB / 0.5539 GB, free: 101.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.8202, allocations: 90.73 kB / 0.554 GB, free: 101 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/0.822, allocations: 1.246 MB / 0.5552 GB, free: 100.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.148e-05/0.8221, allocations: 41.05 kB / 0.5553 GB, free: 100.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006143/0.8227, allocations: 0.7996 MB / 0.5561 GB, free: 100.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/0.8229, allocations: 226.1 kB / 0.5563 GB, free: 100.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/0.8229, allocations: 13 kB / 0.5563 GB, free: 100.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.153e-05/0.823, allocations: 338.4 kB / 0.5566 GB, free: 100.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003018/0.8233, allocations: 195.1 kB / 0.5568 GB, free: 100.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003713/0.8236, allocations: 393.4 kB / 0.5572 GB, free: 99.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003799/0.824, allocations: 257.7 kB / 0.5574 GB, free: 99.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.824, allocations: 2.188 kB / 0.5574 GB, free: 99.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001447/0.8255, allocations: 1.019 MB / 0.5584 GB, free: 99.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.8255, allocations: 11.61 kB / 0.5584 GB, free: 99.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001073/0.8256, allocations: 77.62 kB / 0.5585 GB, free: 99.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.8268, allocations: 0.6922 MB / 0.5592 GB, free: 99.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004771/0.8273, allocations: 126.1 kB / 0.5593 GB, free: 99.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/0.8284, allocations: 1.11 MB / 0.5604 GB, free: 99.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006613/0.8291, allocations: 100.4 kB / 0.5605 GB, free: 99.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.497e-05/0.8292, allocations: 43.03 kB / 0.5605 GB, free: 99.2 MB / 426.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 () * 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.0001353/0.8293, allocations: 146.9 kB / 0.5607 GB, free: 99.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.8295, allocations: 200.4 kB / 0.5608 GB, free: 99 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/0.8313, allocations: 1.028 MB / 0.5618 GB, free: 98.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.8314, allocations: 6.406 kB / 0.5619 GB, free: 98.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.8314, allocations: 3.812 kB / 0.5619 GB, free: 98.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.8314, allocations: 3.891 kB / 0.5619 GB, free: 98.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.8324, allocations: 1.006 MB / 0.5628 GB, free: 98.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.898e-05/0.8325, allocations: 69.72 kB / 0.5629 GB, free: 98.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003501/0.8329, allocations: 71.5 kB / 0.563 GB, free: 98.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/0.8339, allocations: 0.6662 MB / 0.5636 GB, free: 98.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.798e-05/0.834, allocations: 27.5 kB / 0.5637 GB, free: 98.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.835, allocations: 1.077 MB / 0.5647 GB, free: 98.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.835, allocations: 1.25 kB / 0.5647 GB, free: 98.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.8367, allocations: 1.213 MB / 0.5659 GB, free: 97.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003685/0.8371, allocations: 299.4 kB / 0.5662 GB, free: 97.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/0.8372, allocations: 11.48 kB / 0.5662 GB, free: 97.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004722/0.8377, allocations: 47.53 kB / 0.5662 GB, free: 97.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.8378, allocations: 48.89 kB / 0.5663 GB, free: 97.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.732e-05/0.8379, allocations: 26.72 kB / 0.5663 GB, free: 97.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0011/0.839, allocations: 0.966 MB / 0.5672 GB, free: 97.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.839, allocations: 0 / 0.5672 GB, free: 97.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00129/0.8403, allocations: 486.1 kB / 0.5677 GB, free: 97.51 MB / 426.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.002666/0.843, allocations: 2.217 MB / 0.5699 GB, free: 96.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00135/0.8443, allocations: 0.7476 MB / 0.5706 GB, free: 96.69 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.8443, allocations: 0.9375 kB / 0.5706 GB, free: 96.69 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008666/0.8452, allocations: 475.3 kB / 0.5711 GB, free: 96.61 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008145/0.846, allocations: 204.2 kB / 0.5713 GB, free: 96.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004896/0.8509, allocations: 2.68 MB / 0.5739 GB, free: 95.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005903/0.8516, allocations: 1.25 MB / 0.5751 GB, free: 95.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005543/0.8521, allocations: 185.9 kB / 0.5753 GB, free: 95.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005387/0.8527, allocations: 0.6219 MB / 0.5759 GB, free: 95.15 MB / 426.7 MB Notification: Performance of SimCode: time 3.4e-07/0.8527, allocations: 0 / 0.5759 GB, free: 95.15 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04345/0.8961, allocations: 32.29 MB / 0.6074 GB, free: 88.72 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001417/0.8963, allocations: 207.3 kB / 0.6076 GB, free: 88.49 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.099/3.996, allocations: 0 / 0.6076 GB, free: 88.49 MB / 426.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair.fmu > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1)