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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 106.3 kB / 17.06 MB, free: 6.004 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.001164/0.001164, allocations: 191 kB / 18 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 47.94 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2561, allocations: 49.43 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.00906/0.2652, allocations: 8.315 MB / 408.6 MB, free: 464 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01359/0.2789, allocations: 11.29 MB / 419.8 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.2803, allocations: 59.5 kB / 419.9 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00225/0.2826, allocations: 0.8421 MB / 420.8 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004112/0.2867, allocations: 1.219 MB / 422 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002136/0.2889, allocations: 0.6973 MB / 422.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004097/0.293, allocations: 2.705 MB / 425.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005179/0.2936, allocations: 353.7 kB / 425.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007441/0.2943, allocations: 0.5559 MB / 426.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006914/0.295, allocations: 0.6211 MB / 426.9 MB, free: 14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.2951, allocations: 68 kB / 427 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001852/0.297, allocations: 0.7805 MB / 427.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002027/0.2972, allocations: 218.7 kB / 428 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007708/0.298, allocations: 0.7647 MB / 428.7 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002857/0.3008, allocations: 2.117 MB / 430.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3009, allocations: 0 / 430.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3009, allocations: 0 / 430.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.683e-05/0.3009, allocations: 0 / 430.8 MB, free: 10.05 MB / 350.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.003438/0.3044, allocations: 2.219 MB / 433.1 MB, free: 7.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.3044, allocations: 11.89 kB / 433.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.3045, allocations: 102.7 kB / 433.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002594/0.3048, allocations: 222.3 kB / 433.4 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/0.3066, allocations: 1.301 MB / 434.7 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.965e-05/0.3067, allocations: 45.25 kB / 434.7 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.673e-05/0.3068, allocations: 52 kB / 434.8 MB, free: 5.953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.3081, allocations: 0.6939 MB / 435.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.3081, allocations: 0 / 435.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.587e-05/0.3082, allocations: 20 kB / 435.5 MB, free: 5.227 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.3082, allocations: 19.98 kB / 435.5 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.3095, allocations: 0.5711 MB / 436.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003611/0.3131, allocations: 2.518 MB / 438.6 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.3144, allocations: 0.6301 MB / 439.2 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008858/0.3153, allocations: 0.5345 MB / 439.8 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009519/0.3248, allocations: 7.488 MB / 447.3 MB, free: 8.188 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008508/0.3257, allocations: 389.8 kB / 447.6 MB, free: 7.793 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 3.767e-06/0.3257, allocations: 0 / 447.6 MB, free: 7.793 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.006101/0.3318, allocations: 2.075 MB / 449.7 MB, free: 5.688 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.3319, allocations: 85.55 kB / 449.8 MB, free: 5.586 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002063/0.334, allocations: 1.435 MB / 451.2 MB, free: 4.113 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.32e-05/0.3341, allocations: 37.7 kB / 451.3 MB, free: 4.07 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006788/0.3348, allocations: 0.8016 MB / 452.1 MB, free: 3.262 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000213/0.335, allocations: 224.8 kB / 452.3 MB, free: 3.039 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.3352, allocations: 134.6 kB / 452.4 MB, free: 2.898 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3354, allocations: 342 kB / 452.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006079/0.336, allocations: 249.8 kB / 453 MB, free: 2.316 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000754/0.3367, allocations: 458.2 kB / 453.4 MB, free: 1.789 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.3382, allocations: 0.7402 MB / 454.2 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.3382, allocations: 0 / 454.2 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002292/0.3405, allocations: 1.136 MB / 455.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.3405, allocations: 8 kB / 455.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001016/0.3406, allocations: 72 kB / 455.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.3418, allocations: 0.6956 MB / 456.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004531/0.3423, allocations: 111.8 kB / 456.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.3437, allocations: 1.132 MB / 457.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007178/0.3444, allocations: 87.19 kB / 457.4 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.159e-05/0.3445, allocations: 40.12 kB / 457.5 MB, free: 13.65 MB / 382.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 (VCC.counter,$PRE.VCC.counter,VEE.counter,$PRE.VEE.counter,VEE.counter2,$PRE.VEE.counter2,VEE.T0,$PRE.VEE.T0,VCC.counter2,$PRE.VCC.counter2,VCC.T0,$PRE.VCC.T0,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0004884/0.345, allocations: 293.6 kB / 457.7 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000287/0.3453, allocations: 205.6 kB / 457.9 MB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002246/0.3476, allocations: 1.084 MB / 459 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.3476, allocations: 11.92 kB / 459 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3476, allocations: 7.938 kB / 459 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.3476, allocations: 7.984 kB / 459.1 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.3488, allocations: 0.9795 MB / 460 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.864e-05/0.3489, allocations: 68 kB / 460.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003493/0.3493, allocations: 55.88 kB / 460.2 MB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001107/0.3504, allocations: 0.675 MB / 460.8 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.256e-05/0.3505, allocations: 16 kB / 460.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/0.3517, allocations: 1.088 MB / 461.9 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3517, allocations: 3.938 kB / 461.9 MB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002624/0.3544, allocations: 1.347 MB / 463.3 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004974/0.3549, allocations: 278.6 kB / 463.6 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/0.3551, allocations: 15.94 kB / 463.6 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005112/0.3556, allocations: 39.95 kB / 463.6 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.3558, allocations: 48.38 kB / 463.7 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.529e-05/0.3558, allocations: 24 kB / 463.7 MB, free: 7.266 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001344/0.3572, allocations: 0.9449 MB / 464.6 MB, free: 6.301 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3572, allocations: 0 / 464.6 MB, free: 6.301 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009835/0.3582, allocations: 427.4 kB / 465 MB, free: 5.883 MB / 382.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,24)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003669/0.3619, allocations: 2.282 MB / 467.3 MB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002094/0.364, allocations: 0.8584 MB / 468.2 MB, free: 2.699 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.364, allocations: 0 / 468.2 MB, free: 2.699 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.3652, allocations: 0.5253 MB / 468.7 MB, free: 2.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.3663, allocations: 212.4 kB / 468.9 MB, free: 1.949 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01603/0.3824, allocations: 10.71 MB / 479.6 MB, free: 6.906 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007565/0.3832, allocations: 1.22 MB / 480.8 MB, free: 5.652 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004601/0.3836, allocations: 158.1 kB / 481 MB, free: 5.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006516/0.3843, allocations: 0.6282 MB / 481.6 MB, free: 4.867 MB / 398.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3843, allocations: 0 / 481.6 MB, free: 4.867 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06401/0.4483, allocations: 33.17 MB / 0.5027 GB, free: 3.949 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.65/16.1, allocations: 8 kB / 0.5027 GB, free: 3.945 MB / 430.1 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/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)