Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009689/0.0009689, allocations: 96.97 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009613/0.0009613, allocations: 201.6 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.227/1.227, allocations: 227.7 MB / 246.8 MB, free: 11.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002297/0.0002298, allocations: 4 kB / 307.8 MB, free: 0.6992 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08154/0.08179, allocations: 51.52 MB / 359.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.004049/0.08587, allocations: 4.692 MB / 364 MB, free: 8.457 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1553/0.2412, allocations: 10.87 MB / 374.9 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005789/0.2418, allocations: 12.48 kB / 374.9 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.2435, allocations: 0.6428 MB / 375.6 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002281/0.2457, allocations: 0.8119 MB / 376.4 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.2468, allocations: 436.6 kB / 376.8 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001675/0.2485, allocations: 1.345 MB / 378.2 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.2487, allocations: 161.7 kB / 378.3 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002388/0.249, allocations: 258.4 kB / 378.6 MB, free: 8.547 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.2492, allocations: 307.5 kB / 378.9 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.417e-05/0.2493, allocations: 16.88 kB / 378.9 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.2506, allocations: 0.7381 MB / 379.6 MB, free: 8.402 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.135e-05/0.2507, allocations: 92.7 kB / 379.7 MB, free: 8.363 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002516/0.2509, allocations: 412.1 kB / 380.1 MB, free: 8.172 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.2522, allocations: 1.229 MB / 381.3 MB, free: 7.938 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2523, allocations: 0 / 381.3 MB, free: 7.938 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2523, allocations: 0 / 381.3 MB, free: 7.938 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.2523, allocations: 0 / 381.3 MB, free: 7.938 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001458/0.2537, allocations: 1.193 MB / 382.5 MB, free: 7.137 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.2538, allocations: 9.719 kB / 382.5 MB, free: 7.137 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.604e-05/0.2539, allocations: 65.31 kB / 382.6 MB, free: 7.098 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.254, allocations: 118.1 kB / 382.7 MB, free: 7.039 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008026/0.2548, allocations: 0.7414 MB / 383.5 MB, free: 6.668 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.2548, allocations: 16.56 kB / 383.5 MB, free: 6.668 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.267e-05/0.2549, allocations: 31.05 kB / 383.5 MB, free: 6.664 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006226/0.2555, allocations: 336 kB / 383.8 MB, free: 6.625 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.2555, allocations: 3.984 kB / 383.8 MB, free: 6.621 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.2556, allocations: 10.33 kB / 383.9 MB, free: 6.621 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.2556, allocations: 8.312 kB / 383.9 MB, free: 6.621 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006245/0.2562, allocations: 303 kB / 384.2 MB, free: 6.609 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.2578, allocations: 1.377 MB / 385.5 MB, free: 6.039 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006527/0.2585, allocations: 319.9 kB / 385.8 MB, free: 5.902 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004013/0.2589, allocations: 253.8 kB / 386.1 MB, free: 5.801 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002631/0.2615, allocations: 2.804 MB / 388.9 MB, free: 3.434 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003867/0.2619, allocations: 226.9 kB / 389.1 MB, free: 3.324 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.723e-06/0.2619, allocations: 0 / 389.1 MB, free: 3.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001279/0.2632, allocations: 0.6623 MB / 389.8 MB, free: 3.008 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.2633, allocations: 54.78 kB / 389.8 MB, free: 2.945 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007841/0.264, allocations: 0.8067 MB / 390.6 MB, free: 2.613 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.2641, allocations: 31.77 kB / 390.7 MB, free: 2.578 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000234/0.2643, allocations: 445.9 kB / 391.1 MB, free: 2.219 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.005e-05/0.2644, allocations: 109.8 kB / 391.2 MB, free: 2.137 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.2644, allocations: 38.31 kB / 391.3 MB, free: 2.109 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.433e-05/0.2645, allocations: 321.2 kB / 391.6 MB, free: 1.797 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.2648, allocations: 133.8 kB / 391.7 MB, free: 1.754 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003051/0.2651, allocations: 230.4 kB / 391.9 MB, free: 1.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.2666, allocations: 0.7545 MB / 392.7 MB, free: 1.258 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.2666, allocations: 2.125 kB / 392.7 MB, free: 1.258 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000843/0.2674, allocations: 0.5349 MB / 393.2 MB, free: 1.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.2675, allocations: 6.031 kB / 393.2 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.164e-05/0.2675, allocations: 37.27 kB / 393.3 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001038/0.2676, allocations: 26.8 kB / 393.3 MB, free: 1.008 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.268, allocations: 90.39 kB / 393.4 MB, free: 1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000754/0.2687, allocations: 1.345 MB / 394.7 MB, free: 15.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003139/0.269, allocations: 52.97 kB / 394.8 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.622e-05/0.2691, allocations: 23.28 kB / 394.8 MB, free: 15.61 MB / 318.1 MB Warning: Assuming fixed start value for the following 1 variables: Q1.vbx:VARIABLE(unit = "V" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (VIN.counter,$PRE.VIN.counter,VIN.counter2,$PRE.VIN.counter2,VIN.T0,$PRE.VIN.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002687/0.2694, allocations: 204.2 kB / 395 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.2695, allocations: 103.9 kB / 395.1 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.2705, allocations: 0.5178 MB / 395.6 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.2706, allocations: 6.688 kB / 395.6 MB, free: 15.13 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2706, allocations: 1.375 kB / 395.6 MB, free: 15.13 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2706, allocations: 3.938 kB / 395.6 MB, free: 15.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005648/0.2711, allocations: 0.5691 MB / 396.2 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.213e-05/0.2712, allocations: 35.03 kB / 396.2 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/0.2715, allocations: 65.91 kB / 396.3 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.789e-05/0.2716, allocations: 28.59 kB / 396.3 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.2716, allocations: 5.406 kB / 396.3 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008642/0.2725, allocations: 1.343 MB / 397.7 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2725, allocations: 2 kB / 397.7 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.2736, allocations: 0.6346 MB / 398.3 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.2738, allocations: 186 kB / 398.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.317e-05/0.2739, allocations: 5.375 kB / 398.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.2741, allocations: 24.3 kB / 398.5 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.2742, allocations: 25.81 kB / 398.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.2742, allocations: 13.36 kB / 398.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005998/0.2748, allocations: 0.5481 MB / 399.1 MB, free: 12.38 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.2749, allocations: 0 / 399.1 MB, free: 12.38 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000653/0.2755, allocations: 241.6 kB / 399.3 MB, free: 12.32 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Q1.vbe,Q1.vbc,Q1.vbx) * Number of discrete variables: 4 ($whenCondition1,VIN.T0,VIN.counter,VIN.counter2) * Number of discrete states: 2 (VIN.counter,VIN.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001827/0.2773, allocations: 1.442 MB / 400.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008388/0.2782, allocations: 0.5027 MB / 401.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2782, allocations: 4.062 kB / 401.3 MB, free: 11.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004384/0.2787, allocations: 339.8 kB / 401.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005698/0.2792, allocations: 111.5 kB / 401.7 MB, free: 10.78 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00968/0.2889, allocations: 6.606 MB / 408.3 MB, free: 5.203 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.2894, allocations: 0.9564 MB / 409.3 MB, free: 4.219 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003025/0.2897, allocations: 89.19 kB / 409.4 MB, free: 4.133 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003112/0.29, allocations: 323.2 kB / 409.7 MB, free: 3.816 MB / 318.1 MB Notification: Performance of SimCode: time 5.61e-07/0.29, allocations: 0 / 409.7 MB, free: 3.816 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02871/0.3187, allocations: 16.58 MB / 426.3 MB, free: 3.418 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002315/0.319, allocations: 242.7 kB / 426.5 MB, free: 3.16 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.045/2.364, allocations: 0 / 426.5 MB, free: 3.16 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter_fmu --startTime=0 --stopTime=1e-07 --timeout=50 --tolerance=1e-08 Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1)