Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 153 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8607/0.8607, allocations: 173.4 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11e-05/1.265e-05, allocations: 2.281 kB / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.003806/0.003818, allocations: 4.455 MB / 322.9 MB, free: 1.867 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007295/0.01111, allocations: 9.306 MB / 332.2 MB, free: 8.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003932/0.01151, allocations: 39.56 kB / 332.2 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.01255, allocations: 0.6143 MB / 332.8 MB, free: 7.863 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001583/0.01414, allocations: 1.059 MB / 333.9 MB, free: 6.793 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009143/0.01505, allocations: 0.6133 MB / 334.5 MB, free: 6.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.01631, allocations: 1.417 MB / 335.9 MB, free: 4.758 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.01648, allocations: 113.7 kB / 336 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002983/0.01678, allocations: 418.9 kB / 336.4 MB, free: 4.223 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.01697, allocations: 223.1 kB / 336.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.582e-05/0.017, allocations: 28 kB / 336.7 MB, free: 3.977 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007355/0.01774, allocations: 0.6712 MB / 337.4 MB, free: 3.305 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.215e-05/0.0178, allocations: 107.3 kB / 337.5 MB, free: 3.199 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.01794, allocations: 223.3 kB / 337.7 MB, free: 2.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009428/0.01888, allocations: 1.332 MB / 339 MB, free: 1.645 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.01889, allocations: 0 / 339 MB, free: 1.645 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01889, allocations: 0 / 339 MB, free: 1.645 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.0189, allocations: 0 / 339 MB, free: 1.645 MB / 298.7 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.001186/0.02008, allocations: 1.273 MB / 340.3 MB, free: 344 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.02012, allocations: 12.92 kB / 340.3 MB, free: 332 kB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.579e-05/0.02018, allocations: 66.72 kB / 340.4 MB, free: 256 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.744e-05/0.02028, allocations: 124.1 kB / 340.5 MB, free: 132 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007296/0.02101, allocations: 0.6754 MB / 341.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.02102, allocations: 24.97 kB / 341.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.207e-05/0.02106, allocations: 36.12 kB / 341.2 MB, free: 15.35 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/0.02146, allocations: 318 kB / 341.5 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.02147, allocations: 3.984 kB / 341.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.02149, allocations: 8 kB / 341.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.0215, allocations: 11.98 kB / 341.6 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003659/0.02187, allocations: 274.5 kB / 341.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.02308, allocations: 1.262 MB / 343.1 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004315/0.02351, allocations: 278.5 kB / 343.4 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.02375, allocations: 209.4 kB / 343.6 MB, free: 12.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001905/0.02565, allocations: 1.44 MB / 345 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002643/0.02592, allocations: 198.5 kB / 345.2 MB, free: 11.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 1.693e-06/0.02592, allocations: 0 / 345.2 MB, free: 11.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.000917/0.02684, allocations: 0.5844 MB / 345.8 MB, free: 10.64 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.02687, allocations: 59.39 kB / 345.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005848/0.02746, allocations: 0.8154 MB / 346.7 MB, free: 9.734 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.02748, allocations: 33.69 kB / 346.7 MB, free: 9.695 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.02772, allocations: 452.8 kB / 347.1 MB, free: 9.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.522e-05/0.02778, allocations: 99.16 kB / 347.2 MB, free: 9.152 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.625e-05/0.02785, allocations: 73.98 kB / 347.3 MB, free: 9.074 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.733e-05/0.02793, allocations: 321.9 kB / 347.6 MB, free: 8.754 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.02809, allocations: 128.6 kB / 347.7 MB, free: 8.629 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.0283, allocations: 220.5 kB / 348 MB, free: 8.367 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.02868, allocations: 352.9 kB / 348.3 MB, free: 7.977 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.02868, allocations: 4 kB / 348.3 MB, free: 7.973 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005612/0.02924, allocations: 0.5334 MB / 348.8 MB, free: 7.426 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.02925, allocations: 8 kB / 348.8 MB, free: 7.418 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.05e-05/0.02928, allocations: 35.98 kB / 348.9 MB, free: 7.383 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001504/0.02943, allocations: 49.7 kB / 348.9 MB, free: 7.328 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.02959, allocations: 71.88 kB / 349 MB, free: 7.258 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.03101, allocations: 2.637 MB / 351.6 MB, free: 4.387 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.03119, allocations: 51.84 kB / 351.7 MB, free: 4.336 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.03122, allocations: 16 kB / 351.7 MB, free: 4.32 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001903/0.03141, allocations: 201.8 kB / 351.9 MB, free: 4.113 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.901e-05/0.03148, allocations: 123.2 kB / 352 MB, free: 3.992 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006073/0.03208, allocations: 489.1 kB / 352.5 MB, free: 3.5 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.03209, allocations: 4 kB / 352.5 MB, free: 3.496 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.03209, allocations: 0 / 352.5 MB, free: 3.496 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.03209, allocations: 0 / 352.5 MB, free: 3.496 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000358/0.03245, allocations: 499 kB / 353 MB, free: 2.969 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.752e-05/0.03248, allocations: 36 kB / 353 MB, free: 2.934 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.03261, allocations: 39.95 kB / 353.1 MB, free: 2.895 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.281e-05/0.0327, allocations: 45.69 kB / 353.1 MB, free: 2.844 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.03272, allocations: 11.94 kB / 353.1 MB, free: 2.832 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/0.034, allocations: 2.645 MB / 355.8 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.034, allocations: 0 / 355.8 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006859/0.03468, allocations: 0.6165 MB / 356.4 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.0348, allocations: 111.2 kB / 356.5 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.03484, allocations: 11.94 kB / 356.5 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.03496, allocations: 15.98 kB / 356.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.178e-05/0.03502, allocations: 27.95 kB / 356.5 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.03504, allocations: 8.062 kB / 356.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004085/0.03544, allocations: 0.5545 MB / 357.1 MB, free: 14.58 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03544, allocations: 3.938 kB / 357.1 MB, free: 14.58 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003807/0.03583, allocations: 239.4 kB / 357.3 MB, free: 14.34 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Q1.vbe,Q1.vbc) * 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 (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.001195/0.03702, allocations: 1.414 MB / 358.8 MB, free: 12.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006211/0.03764, allocations: 0.5661 MB / 359.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.03764, allocations: 0 / 359.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003092/0.03795, allocations: 426.9 kB / 359.7 MB, free: 11.85 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.0383, allocations: 115.8 kB / 359.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005104/0.0434, allocations: 5.752 MB / 365.6 MB, free: 5.762 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.04359, allocations: 361.3 kB / 366 MB, free: 5.375 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001559/0.04375, allocations: 89.14 kB / 366 MB, free: 5.285 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.04398, allocations: 336.4 kB / 366.4 MB, free: 4.957 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.04398, allocations: 0 / 366.4 MB, free: 4.957 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03456/0.07854, allocations: 18.63 MB / 385 MB, free: 2.539 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.78/7.858, allocations: 15.92 kB / 385 MB, free: 2.523 MB / 346.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter_fmu --startTime=0 --stopTime=1e-07 --stepSize=1.001e-10 --timeout=50 --tolerance=1e-08 Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter.fmu > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.43634575046599] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 7.954129554331303 7.961877806 7.941444101 Calling exit ...