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.000801/0.000801, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008022/0.0008022, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.861/0.861, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.463e-06/1.463e-06, allocations: 0 / 324.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.558e-05/1.704e-05, allocations: 6.219 kB / 324.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.003776/0.003793, allocations: 4.501 MB / 329.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007007/0.0108, allocations: 9.322 MB / 338.4 MB, free: 1.922 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004158/0.01122, allocations: 51.44 kB / 338.4 MB, free: 1.871 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009866/0.0122, allocations: 0.622 MB / 339.1 MB, free: 1.242 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.0136, allocations: 1.058 MB / 340.1 MB, free: 180 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.01466, allocations: 0.6096 MB / 340.7 MB, free: 15.56 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001191/0.01585, allocations: 1.428 MB / 342.2 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.01602, allocations: 121.7 kB / 342.3 MB, free: 14 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002843/0.01631, allocations: 418.9 kB / 342.7 MB, free: 13.59 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.01649, allocations: 215.2 kB / 342.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.01653, allocations: 36 kB / 342.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007126/0.01724, allocations: 0.6673 MB / 343.6 MB, free: 12.67 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.923e-05/0.0173, allocations: 111.2 kB / 343.7 MB, free: 12.56 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.01744, allocations: 219.3 kB / 343.9 MB, free: 12.35 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009489/0.01838, allocations: 1.339 MB / 345.3 MB, free: 11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.01839, allocations: 0 / 345.3 MB, free: 11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01839, allocations: 0 / 345.3 MB, free: 11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.0184, allocations: 0 / 345.3 MB, free: 11 MB / 314.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.001179/0.01958, allocations: 1.273 MB / 346.5 MB, free: 9.699 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.01961, allocations: 8.031 kB / 346.5 MB, free: 9.691 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.294e-05/0.01967, allocations: 66.72 kB / 346.6 MB, free: 9.617 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.806e-05/0.01975, allocations: 120.2 kB / 346.7 MB, free: 9.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006617/0.02042, allocations: 0.6755 MB / 347.4 MB, free: 8.773 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.02044, allocations: 24.97 kB / 347.4 MB, free: 8.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.02047, allocations: 32.06 kB / 347.4 MB, free: 8.719 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006589/0.02113, allocations: 318 kB / 347.8 MB, free: 8.398 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.02114, allocations: 0 / 347.8 MB, free: 8.398 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.02116, allocations: 16 kB / 347.8 MB, free: 8.383 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.02118, allocations: 15.98 kB / 347.8 MB, free: 8.367 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/0.02154, allocations: 270.5 kB / 348.1 MB, free: 8.105 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.02278, allocations: 1.269 MB / 349.3 MB, free: 6.758 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000402/0.02318, allocations: 270.7 kB / 349.6 MB, free: 6.484 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.02342, allocations: 216.7 kB / 349.8 MB, free: 6.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001599/0.02502, allocations: 1.323 MB / 351.1 MB, free: 4.926 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002679/0.02528, allocations: 201.6 kB / 351.3 MB, free: 4.719 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 1.593e-06/0.02528, allocations: 3.938 kB / 351.3 MB, free: 4.715 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008275/0.02611, allocations: 0.5567 MB / 351.9 MB, free: 4.148 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.02615, allocations: 59.41 kB / 351.9 MB, free: 4.078 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005563/0.0267, allocations: 0.8072 MB / 352.7 MB, free: 3.254 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.02672, allocations: 29.7 kB / 352.8 MB, free: 3.219 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/0.02695, allocations: 448.9 kB / 353.2 MB, free: 2.777 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.869e-05/0.02701, allocations: 111.1 kB / 353.3 MB, free: 2.668 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.961e-05/0.02708, allocations: 66.03 kB / 353.4 MB, free: 2.598 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.471e-05/0.02716, allocations: 326 kB / 353.7 MB, free: 2.273 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.02732, allocations: 120.8 kB / 353.8 MB, free: 2.152 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.02752, allocations: 222.2 kB / 354 MB, free: 1.902 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008844/0.02841, allocations: 0.7089 MB / 354.7 MB, free: 1.156 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.02841, allocations: 4 kB / 354.8 MB, free: 1.152 MB / 314.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007743/0.02918, allocations: 0.5181 MB / 355.3 MB, free: 0.625 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.0292, allocations: 8.062 kB / 355.3 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.122e-05/0.02923, allocations: 40 kB / 355.3 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.257e-05/0.02931, allocations: 28.84 kB / 355.3 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.02949, allocations: 87.81 kB / 355.4 MB, free: 472 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006846/0.03017, allocations: 1.342 MB / 356.8 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.03032, allocations: 55.7 kB / 356.8 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.03035, allocations: 20 kB / 356.8 MB, free: 14.92 MB / 330.7 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.0001954/0.03054, allocations: 198.6 kB / 357 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.109e-05/0.0306, allocations: 111.3 kB / 357.1 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005961/0.0312, allocations: 0.4923 MB / 357.6 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.0312, allocations: 4 kB / 357.6 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.0312, allocations: 0 / 357.6 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.03121, allocations: 3.984 kB / 357.6 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003479/0.03156, allocations: 0.495 MB / 358.1 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-05/0.03158, allocations: 36 kB / 358.2 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.03175, allocations: 59.94 kB / 358.2 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.695e-05/0.03181, allocations: 24.84 kB / 358.3 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.03182, allocations: 12 kB / 358.3 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005744/0.0324, allocations: 1.338 MB / 359.6 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.0324, allocations: 0 / 359.6 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006545/0.03305, allocations: 0.6071 MB / 360.2 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.03317, allocations: 115.2 kB / 360.3 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.03321, allocations: 11.98 kB / 360.3 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.03332, allocations: 16.05 kB / 360.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.03338, allocations: 27.95 kB / 360.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.0334, allocations: 16 kB / 360.4 MB, free: 11.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003913/0.03379, allocations: 0.5426 MB / 360.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03379, allocations: 0 / 360.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003447/0.03413, allocations: 247.4 kB / 361.2 MB, free: 10.38 MB / 330.7 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.001451/0.03558, allocations: 1.441 MB / 362.6 MB, free: 8.898 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005717/0.03615, allocations: 469.2 kB / 363.1 MB, free: 8.422 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.03616, allocations: 0 / 363.1 MB, free: 8.422 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002598/0.03642, allocations: 316.2 kB / 363.4 MB, free: 8.094 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.03677, allocations: 108.4 kB / 363.5 MB, free: 7.984 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005318/0.04209, allocations: 5.86 MB / 369.4 MB, free: 1.918 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/0.04228, allocations: 369.6 kB / 369.7 MB, free: 1.523 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001508/0.04243, allocations: 89.19 kB / 369.8 MB, free: 1.434 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/0.04267, allocations: 312.4 kB / 370.1 MB, free: 1.129 MB / 330.7 MB Notification: Performance of SimCode: time 6.31e-07/0.04267, allocations: 0 / 370.1 MB, free: 1.129 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03397/0.07663, allocations: 18.54 MB / 388.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.434/7.511, allocations: 15.25 kB / 388.7 MB, free: 14.8 MB / 362.7 MB " [Timeout remaining time 652] (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: 9.070387262851] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 7.603139172308147 7.611138035 7.591173321 Calling exit ...