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.001197/0.001197, allocations: 180.9 kB / 16.39 MB, free: 5.766 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.405/1.405, allocations: 223.2 MB / 240.3 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009013/0.0009012, allocations: 98.47 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002776/0.0002774, allocations: 7.938 kB / 351.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2267, allocations: 50.4 MB / 401.6 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1076/0.3343, allocations: 93.68 MB / 495.3 MB, free: 2.758 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.3346, allocations: 75.95 kB / 495.3 MB, free: 2.684 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2855/0.6201, allocations: 61.21 MB / 0.5435 GB, free: 69.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6202, allocations: 3.938 kB / 0.5435 GB, free: 69.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.452e-05/0.6202, allocations: 28 kB / 0.5435 GB, free: 69.01 MB / 378.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.002765/0.623, allocations: 2.083 MB / 0.5456 GB, free: 66.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.623, allocations: 12.03 kB / 0.5456 GB, free: 66.85 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.2e-05/0.6231, allocations: 102.5 kB / 0.5457 GB, free: 66.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.6233, allocations: 221.4 kB / 0.5459 GB, free: 66.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.6247, allocations: 1.263 MB / 0.5471 GB, free: 65.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.6247, allocations: 41.31 kB / 0.5472 GB, free: 65.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.01e-05/0.6248, allocations: 55.91 kB / 0.5472 GB, free: 65.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.6258, allocations: 0.7095 MB / 0.5479 GB, free: 64.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.6259, allocations: 4 kB / 0.5479 GB, free: 64.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.221e-05/0.6259, allocations: 23.98 kB / 0.5479 GB, free: 64.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.6259, allocations: 23.98 kB / 0.548 GB, free: 64.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.627, allocations: 0.6064 MB / 0.5485 GB, free: 63.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002799/0.6298, allocations: 2.589 MB / 0.5511 GB, free: 61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009891/0.6308, allocations: 0.669 MB / 0.5517 GB, free: 60.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007425/0.6383, allocations: 8.685 MB / 0.5602 GB, free: 50.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006912/0.639, allocations: 402 kB / 0.5606 GB, free: 49.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 2.184e-06/0.639, allocations: 3.938 kB / 0.5606 GB, free: 49.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=67): time 0.005497/0.6445, allocations: 2.212 MB / 0.5628 GB, free: 47.63 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.6446, allocations: 89.47 kB / 0.5628 GB, free: 47.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.6459, allocations: 1.268 MB / 0.5641 GB, free: 46.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.704e-05/0.646, allocations: 41.64 kB / 0.5641 GB, free: 46.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004587/0.6465, allocations: 0.8016 MB / 0.5649 GB, free: 45.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.6466, allocations: 216.8 kB / 0.5651 GB, free: 45.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.6466, allocations: 16 kB / 0.5651 GB, free: 45.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.151e-05/0.6467, allocations: 341.9 kB / 0.5654 GB, free: 44.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005035/0.6472, allocations: 273.8 kB / 0.5657 GB, free: 44.53 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005477/0.6477, allocations: 471.9 kB / 0.5662 GB, free: 43.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005637/0.6483, allocations: 323 kB / 0.5665 GB, free: 43.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.6483, allocations: 4 kB / 0.5665 GB, free: 43.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001714/0.6501, allocations: 1.187 MB / 0.5676 GB, free: 42.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.6501, allocations: 8 kB / 0.5676 GB, free: 42.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.877e-05/0.6502, allocations: 75.98 kB / 0.5677 GB, free: 42.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009611/0.6511, allocations: 0.6874 MB / 0.5684 GB, free: 41.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004262/0.6516, allocations: 123.8 kB / 0.5685 GB, free: 41.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.6526, allocations: 1.12 MB / 0.5696 GB, free: 40.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007293/0.6534, allocations: 103.3 kB / 0.5697 GB, free: 40.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.114e-05/0.6534, allocations: 39.98 kB / 0.5697 GB, free: 40.29 MB / 378.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.0005501/0.654, allocations: 290.6 kB / 0.57 GB, free: 40 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.6542, allocations: 197.7 kB / 0.5702 GB, free: 39.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002127/0.6563, allocations: 1.189 MB / 0.5714 GB, free: 38.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.6563, allocations: 11.94 kB / 0.5714 GB, free: 38.59 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6563, allocations: 0 / 0.5714 GB, free: 38.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.6563, allocations: 3.984 kB / 0.5714 GB, free: 38.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009873/0.6573, allocations: 0.999 MB / 0.5723 GB, free: 37.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.919e-05/0.6574, allocations: 72.09 kB / 0.5724 GB, free: 37.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003762/0.6578, allocations: 67.95 kB / 0.5725 GB, free: 37.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008807/0.6587, allocations: 0.6779 MB / 0.5731 GB, free: 36.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.444e-05/0.6587, allocations: 23.98 kB / 0.5732 GB, free: 36.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009111/0.6597, allocations: 1.081 MB / 0.5742 GB, free: 35.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6597, allocations: 0 / 0.5742 GB, free: 35.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/0.6619, allocations: 1.452 MB / 0.5756 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000406/0.6623, allocations: 294.6 kB / 0.5759 GB, free: 33.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/0.6625, allocations: 15.94 kB / 0.5759 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004911/0.663, allocations: 39.95 kB / 0.576 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.6632, allocations: 56.3 kB / 0.576 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.574e-05/0.6632, allocations: 31.98 kB / 0.5761 GB, free: 33.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00109/0.6643, allocations: 0.9761 MB / 0.577 GB, free: 32.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6643, allocations: 0 / 0.577 GB, free: 32.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009977/0.6653, allocations: 491.1 kB / 0.5775 GB, free: 32.18 MB / 378.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.003272/0.6686, allocations: 2.454 MB / 0.5799 GB, free: 29.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001744/0.6704, allocations: 0.8897 MB / 0.5807 GB, free: 28.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.6704, allocations: 0 / 0.5807 GB, free: 28.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000966/0.6713, allocations: 0.5409 MB / 0.5813 GB, free: 28.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008491/0.6722, allocations: 204 kB / 0.5815 GB, free: 28.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/0.6877, allocations: 13.87 MB / 0.595 GB, free: 13.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006096/0.6884, allocations: 1.248 MB / 0.5962 GB, free: 12.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006723/0.6891, allocations: 183.2 kB / 0.5964 GB, free: 11.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005906/0.6897, allocations: 0.6272 MB / 0.597 GB, free: 11.21 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6897, allocations: 0 / 0.597 GB, free: 11.21 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05603/0.7457, allocations: 32.39 MB / 0.6287 GB, free: 11.15 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/0.7459, allocations: 224.6 kB / 0.6289 GB, free: 10.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.054/3.8, allocations: 0 / 0.6289 GB, free: 10.91 MB / 410.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)