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.001303/0.001303, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001404/0.001404, allocations: 216.2 kB / 24.53 MB, free: 4.066 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.337/1.337, allocations: 230.6 MB / 258.3 MB, free: 8 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 43.92 kB / 378.5 MB, free: 3.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2391, allocations: 53.37 MB / 431.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006049/0.2451, allocations: 5.117 MB / 437 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01211/0.2572, allocations: 10.86 MB / 447.9 MB, free: 6.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007039/0.2579, allocations: 39.56 kB / 447.9 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001769/0.2597, allocations: 0.706 MB / 448.6 MB, free: 6.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002983/0.2627, allocations: 1.028 MB / 449.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.2644, allocations: 0.6059 MB / 450.3 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002429/0.2669, allocations: 1.394 MB / 451.7 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002477/0.2671, allocations: 117.8 kB / 451.8 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003955/0.2675, allocations: 302.5 kB / 452.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003751/0.2679, allocations: 317.9 kB / 452.4 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.561e-05/0.2679, allocations: 35.94 kB / 452.4 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/0.2697, allocations: 0.757 MB / 453.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.2698, allocations: 103.3 kB / 453.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004035/0.2702, allocations: 397.4 kB / 453.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001768/0.272, allocations: 1.284 MB / 455 MB, free: 15.69 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.272, allocations: 0 / 455 MB, free: 15.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.272, allocations: 0 / 455 MB, free: 15.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.272, allocations: 0 / 455 MB, free: 15.69 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.002025/0.274, allocations: 1.278 MB / 456.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.857e-05/0.2741, allocations: 12.03 kB / 456.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.354e-05/0.2741, allocations: 12.84 kB / 456.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.98e-05/0.2742, allocations: 66.72 kB / 456.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/0.2743, allocations: 120.2 kB / 456.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.2754, allocations: 0.6797 MB / 457.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.2754, allocations: 16.66 kB / 457.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.088e-05/0.2755, allocations: 28 kB / 457.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006385/0.2761, allocations: 322 kB / 457.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.2761, allocations: 4 kB / 457.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.231e-05/0.2762, allocations: 11.94 kB / 457.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.2762, allocations: 8 kB / 457.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006275/0.2768, allocations: 282.4 kB / 457.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.2788, allocations: 1.323 MB / 459.1 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00067/0.2794, allocations: 278.5 kB / 459.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004036/0.2799, allocations: 216.7 kB / 459.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002739/0.2826, allocations: 1.35 MB / 460.9 MB, free: 9.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004339/0.283, allocations: 207.3 kB / 461.1 MB, free: 9.285 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.814e-06/0.283, allocations: 0 / 461.1 MB, free: 9.285 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.001407/0.2844, allocations: 0.5614 MB / 461.7 MB, free: 8.715 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.2845, allocations: 55.41 kB / 461.7 MB, free: 8.648 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009064/0.2854, allocations: 0.8111 MB / 462.6 MB, free: 7.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.2854, allocations: 29.7 kB / 462.6 MB, free: 7.785 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003805/0.2858, allocations: 441 kB / 463 MB, free: 7.352 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.2859, allocations: 115 kB / 463.1 MB, free: 7.238 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.286, allocations: 81.97 kB / 463.2 MB, free: 7.152 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2862, allocations: 325.9 kB / 463.5 MB, free: 6.828 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/0.2865, allocations: 120.6 kB / 463.6 MB, free: 6.711 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003677/0.2868, allocations: 214.6 kB / 463.9 MB, free: 6.465 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/0.2884, allocations: 0.712 MB / 464.6 MB, free: 5.711 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.2885, allocations: 0 / 464.6 MB, free: 5.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001009/0.2895, allocations: 0.5217 MB / 465.1 MB, free: 5.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.2895, allocations: 8 kB / 465.1 MB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.955e-05/0.2895, allocations: 39.98 kB / 465.1 MB, free: 5.133 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001325/0.2897, allocations: 32.78 kB / 465.2 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/0.29, allocations: 88.22 kB / 465.3 MB, free: 5.012 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/0.2912, allocations: 1.338 MB / 466.6 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003174/0.2915, allocations: 43.77 kB / 466.6 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.2915, allocations: 12 kB / 466.6 MB, free: 3.496 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.0003153/0.2919, allocations: 207.5 kB / 466.9 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.292, allocations: 115.4 kB / 467 MB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.293, allocations: 492.1 kB / 467.4 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.293, allocations: 7.938 kB / 467.5 MB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.293, allocations: 3.984 kB / 467.5 MB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.2931, allocations: 3.938 kB / 467.5 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006274/0.2937, allocations: 0.5492 MB / 468 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.503e-05/0.2937, allocations: 32 kB / 468 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/0.294, allocations: 59.89 kB / 468.1 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.305e-05/0.2941, allocations: 28.83 kB / 468.1 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.2942, allocations: 12 kB / 468.1 MB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001041/0.2952, allocations: 1.342 MB / 469.5 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2952, allocations: 4.031 kB / 469.5 MB, free: 492 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.2964, allocations: 0.6112 MB / 470.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002065/0.2966, allocations: 115.3 kB / 470.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.87e-05/0.2967, allocations: 8 kB / 470.2 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.2969, allocations: 11.98 kB / 470.2 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.092e-05/0.297, allocations: 27.95 kB / 470.3 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.297, allocations: 12 kB / 470.3 MB, free: 15.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006267/0.2976, allocations: 0.5465 MB / 470.8 MB, free: 15.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2976, allocations: 0 / 470.8 MB, free: 15.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006134/0.2982, allocations: 247.3 kB / 471.1 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.001952/0.3002, allocations: 1.414 MB / 472.5 MB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009384/0.3011, allocations: 473.4 kB / 472.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.3011, allocations: 0 / 472.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004801/0.3016, allocations: 311.7 kB / 473.2 MB, free: 12.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005499/0.3022, allocations: 124.3 kB / 473.4 MB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00849/0.3107, allocations: 5.938 MB / 479.3 MB, free: 6.375 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005734/0.3112, allocations: 0.9564 MB / 480.3 MB, free: 5.391 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002617/0.3115, allocations: 85.2 kB / 480.3 MB, free: 5.309 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003599/0.3119, allocations: 315.3 kB / 480.6 MB, free: 5 MB / 382.1 MB Notification: Performance of SimCode: time 1.192e-06/0.3119, allocations: 0 / 480.6 MB, free: 5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04835/0.3602, allocations: 17.83 MB / 498.5 MB, free: 3.367 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.29, allocations: 10.7 kB / 498.5 MB, free: 3.359 MB / 398.1 MB " [Timeout remaining time 647] (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: 15.532218713022303] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 13.470120605023112 13.486187173 13.210977044 Calling exit ...