Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00232/0.00232, allocations: 213.9 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.625/1.625, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 47.92 kB / 377.8 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.272, allocations: 53.36 MB / 431.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006734/0.2788, allocations: 5.129 MB / 436.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01319/0.2919, allocations: 10.86 MB / 447.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008013/0.2927, allocations: 43.5 kB / 447.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001951/0.2947, allocations: 0.6966 MB / 447.9 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003004/0.2977, allocations: 1.028 MB / 448.9 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.2993, allocations: 0.6137 MB / 449.5 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002427/0.3017, allocations: 1.39 MB / 450.9 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002487/0.3019, allocations: 117.8 kB / 451 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003721/0.3023, allocations: 294.6 kB / 451.3 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004258/0.3027, allocations: 325.8 kB / 451.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.865e-05/0.3028, allocations: 32 kB / 451.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.3043, allocations: 0.7531 MB / 452.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.754e-05/0.3044, allocations: 103.3 kB / 452.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000367/0.3048, allocations: 405.4 kB / 452.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001667/0.3064, allocations: 1.276 MB / 454.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3064, allocations: 4 kB / 454.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3064, allocations: 0 / 454.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.3064, allocations: 0 / 454.2 MB, free: 15.7 MB / 366.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.002044/0.3085, allocations: 1.278 MB / 455.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.3085, allocations: 12.03 kB / 455.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.916e-05/0.3086, allocations: 62.72 kB / 455.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.3088, allocations: 124.1 kB / 455.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.3099, allocations: 0.6838 MB / 456.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.3099, allocations: 20.59 kB / 456.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.645e-05/0.3099, allocations: 28 kB / 456.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006577/0.3106, allocations: 318 kB / 456.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.3106, allocations: 3.938 kB / 456.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.3107, allocations: 8 kB / 456.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.3107, allocations: 15.92 kB / 456.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006771/0.3113, allocations: 282.5 kB / 457 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0021/0.3134, allocations: 1.323 MB / 458.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007/0.3141, allocations: 278.5 kB / 458.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004355/0.3146, allocations: 216.7 kB / 458.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002915/0.3175, allocations: 1.354 MB / 460.1 MB, free: 9.508 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000449/0.3179, allocations: 208.9 kB / 460.3 MB, free: 9.293 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.034e-06/0.3179, allocations: 4 kB / 460.3 MB, free: 9.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001438/0.3194, allocations: 0.5575 MB / 460.9 MB, free: 8.723 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.3194, allocations: 59.41 kB / 461 MB, free: 8.652 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009507/0.3204, allocations: 0.8072 MB / 461.8 MB, free: 7.828 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.3204, allocations: 29.7 kB / 461.8 MB, free: 7.793 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004038/0.3208, allocations: 445 kB / 462.2 MB, free: 7.355 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.3209, allocations: 119 kB / 462.4 MB, free: 7.238 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.3211, allocations: 69.98 kB / 462.4 MB, free: 7.164 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3212, allocations: 325.9 kB / 462.7 MB, free: 6.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002928/0.3215, allocations: 124.7 kB / 462.9 MB, free: 6.719 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003693/0.3219, allocations: 218.5 kB / 463.1 MB, free: 6.469 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/0.3235, allocations: 0.7043 MB / 463.8 MB, free: 5.723 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3235, allocations: 0 / 463.8 MB, free: 5.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009839/0.3245, allocations: 0.5179 MB / 464.3 MB, free: 5.195 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.3245, allocations: 8 kB / 464.3 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.127e-05/0.3246, allocations: 40 kB / 464.3 MB, free: 5.148 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001211/0.3247, allocations: 24.84 kB / 464.4 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/0.3251, allocations: 95.75 kB / 464.5 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.3263, allocations: 1.334 MB / 465.8 MB, free: 3.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.3266, allocations: 47.78 kB / 465.8 MB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/0.3267, allocations: 20 kB / 465.9 MB, free: 3.504 MB / 366.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.0003287/0.327, allocations: 204.8 kB / 466.1 MB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.3271, allocations: 111.3 kB / 466.2 MB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.3282, allocations: 496.3 kB / 466.7 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3282, allocations: 4 kB / 466.7 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.3282, allocations: 3.938 kB / 466.7 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3282, allocations: 3.938 kB / 466.7 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006664/0.3289, allocations: 0.5531 MB / 467.2 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.305e-05/0.3289, allocations: 36 kB / 467.3 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003191/0.3293, allocations: 55.94 kB / 467.3 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.843e-05/0.3294, allocations: 32.72 kB / 467.3 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.3294, allocations: 8 kB / 467.3 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.3306, allocations: 1.346 MB / 468.7 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3306, allocations: 0 / 468.7 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.3318, allocations: 0.6189 MB / 469.3 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/0.332, allocations: 103.3 kB / 469.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.716e-05/0.3321, allocations: 8 kB / 469.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.3323, allocations: 15.98 kB / 469.4 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.821e-05/0.3324, allocations: 27.95 kB / 469.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.3324, allocations: 12 kB / 469.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007702/0.3332, allocations: 0.5465 MB / 470 MB, free: 15.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3332, allocations: 3.938 kB / 470 MB, free: 15.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006634/0.3338, allocations: 247.3 kB / 470.3 MB, free: 14.88 MB / 382.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.00217/0.336, allocations: 1.414 MB / 471.7 MB, free: 13.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.337, allocations: 468.7 kB / 472.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3371, allocations: 0 / 472.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005233/0.3376, allocations: 320.7 kB / 472.5 MB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005997/0.3382, allocations: 120.2 kB / 472.6 MB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009239/0.3474, allocations: 5.93 MB / 478.5 MB, free: 6.391 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006234/0.348, allocations: 0.9564 MB / 479.5 MB, free: 5.406 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002634/0.3483, allocations: 81.2 kB / 479.5 MB, free: 5.328 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003967/0.3487, allocations: 319.3 kB / 479.8 MB, free: 5.016 MB / 382.1 MB Notification: Performance of SimCode: time 9.31e-07/0.3487, allocations: 0 / 479.8 MB, free: 5.016 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06296/0.4117, allocations: 17.8 MB / 497.7 MB, free: 3.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/14.01, allocations: 8.594 kB / 497.7 MB, free: 3.406 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter_fmu --startTime=0 --stopTime=1e-07 --stepSize=1.001e-10 --timeout=50 --tolerance=1e-08 Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter.fmu > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.62009934708476] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 14.128112846054137 14.144851892 13.835062006 Calling exit ...