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.00165/0.00165, allocations: 111.8 kB / 18.49 MB, free: 4.559 MB / 14.72 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.001794/0.001794, allocations: 194.5 kB / 21.43 MB, free: 1.629 MB / 14.72 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 1.453/1.453, allocations: 225.6 MB / 249.8 MB, free: 3.496 MB / 190.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 47.92 kB / 366.3 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09669/0.0982, allocations: 52.15 MB / 418.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.006194/0.1044, allocations: 5.084 MB / 423.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01241/0.1168, allocations: 10.81 MB / 434.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008459/0.1176, allocations: 47.5 kB / 434.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001897/0.1195, allocations: 0.7021 MB / 435.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002994/0.1225, allocations: 1.01 MB / 436.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.1241, allocations: 0.6038 MB / 436.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002217/0.1263, allocations: 1.369 MB / 438.1 MB, free: 8.875 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002583/0.1266, allocations: 121.1 kB / 438.2 MB, free: 8.742 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004003/0.127, allocations: 298.5 kB / 438.5 MB, free: 8.449 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003723/0.1274, allocations: 321.9 kB / 438.8 MB, free: 8.133 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.8e-05/0.1274, allocations: 32 kB / 438.9 MB, free: 8.102 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.129, allocations: 0.7492 MB / 439.6 MB, free: 7.352 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.1291, allocations: 107.3 kB / 439.7 MB, free: 7.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004123/0.1296, allocations: 401.4 kB / 440.1 MB, free: 6.852 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001799/0.1314, allocations: 1.276 MB / 441.4 MB, free: 5.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1314, allocations: 0 / 441.4 MB, free: 5.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1314, allocations: 0 / 441.4 MB, free: 5.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.1314, allocations: 0 / 441.4 MB, free: 5.57 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.002028/0.1334, allocations: 1.353 MB / 442.7 MB, free: 4.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1334, allocations: 8.031 kB / 442.7 MB, free: 4.152 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.995e-05/0.1335, allocations: 12.75 kB / 442.8 MB, free: 4.137 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.234e-05/0.1335, allocations: 66.72 kB / 442.8 MB, free: 4.062 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.1337, allocations: 120.2 kB / 442.9 MB, free: 3.945 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.1347, allocations: 0.7632 MB / 443.7 MB, free: 3.129 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.1348, allocations: 20.56 kB / 443.7 MB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.256e-05/0.1348, allocations: 27.94 kB / 443.8 MB, free: 3.082 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006549/0.1355, allocations: 321.3 kB / 444.1 MB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1355, allocations: 0 / 444.1 MB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/0.1355, allocations: 8 kB / 444.1 MB, free: 2.754 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.1355, allocations: 15.98 kB / 444.1 MB, free: 2.738 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006585/0.1362, allocations: 274.1 kB / 444.4 MB, free: 2.469 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00204/0.1382, allocations: 1.365 MB / 445.7 MB, free: 1.016 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007012/0.1389, allocations: 278.5 kB / 446 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004121/0.1394, allocations: 221.2 kB / 446.2 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1787/0.318, allocations: 3.579 MB / 449.8 MB, free: 29.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004116/0.3184, allocations: 200.5 kB / 450 MB, free: 29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 3.406e-06/0.3184, allocations: 1.781 kB / 450 MB, free: 29 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.001663/0.3201, allocations: 0.7309 MB / 450.7 MB, free: 28.76 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.3202, allocations: 52.56 kB / 450.8 MB, free: 28.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.3215, allocations: 0.8184 MB / 451.6 MB, free: 28.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.948e-05/0.3215, allocations: 32.7 kB / 451.6 MB, free: 28.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004351/0.322, allocations: 451.5 kB / 452.1 MB, free: 28.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.3221, allocations: 105.2 kB / 452.2 MB, free: 28.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.3223, allocations: 73.88 kB / 452.2 MB, free: 28.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.375e-05/0.3224, allocations: 324.2 kB / 452.6 MB, free: 28.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003413/0.3227, allocations: 115 kB / 452.7 MB, free: 28.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003656/0.3231, allocations: 223.8 kB / 452.9 MB, free: 27.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006289/0.3237, allocations: 364.6 kB / 453.2 MB, free: 27.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.3237, allocations: 1.031 kB / 453.2 MB, free: 27.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00107/0.3248, allocations: 0.5189 MB / 453.8 MB, free: 27.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.3248, allocations: 6.844 kB / 453.8 MB, free: 27.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-05/0.3249, allocations: 35.27 kB / 453.8 MB, free: 27.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002582/0.3251, allocations: 60 kB / 453.9 MB, free: 27.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.3255, allocations: 76.02 kB / 453.9 MB, free: 27.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/0.3271, allocations: 2.851 MB / 456.8 MB, free: 24.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004238/0.3275, allocations: 41.05 kB / 456.8 MB, free: 24.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-05/0.3276, allocations: 17.16 kB / 456.8 MB, free: 24.95 MB / 366.1 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.0003073/0.3279, allocations: 206.9 kB / 457 MB, free: 24.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.328, allocations: 112.3 kB / 457.2 MB, free: 24.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.3292, allocations: 493.4 kB / 457.6 MB, free: 24.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.3292, allocations: 3.219 kB / 457.6 MB, free: 24.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3292, allocations: 7.938 kB / 457.6 MB, free: 24.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3292, allocations: 4.281 kB / 457.7 MB, free: 24.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00073/0.3299, allocations: 0.554 MB / 458.2 MB, free: 24.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.078e-05/0.33, allocations: 35.8 kB / 458.2 MB, free: 24.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.3303, allocations: 44.89 kB / 458.3 MB, free: 24.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000183/0.3305, allocations: 46.12 kB / 458.3 MB, free: 24.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.748e-05/0.3305, allocations: 11.19 kB / 458.3 MB, free: 24.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/0.332, allocations: 2.853 MB / 461.2 MB, free: 21.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.332, allocations: 1.797 kB / 461.2 MB, free: 21.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.3337, allocations: 0.6204 MB / 461.8 MB, free: 21.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003103/0.334, allocations: 182.4 kB / 462 MB, free: 21.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.775e-05/0.3341, allocations: 8.172 kB / 462 MB, free: 21.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.3343, allocations: 16.58 kB / 462 MB, free: 21.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.3345, allocations: 29.22 kB / 462 MB, free: 21.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.3345, allocations: 10.81 kB / 462.1 MB, free: 21.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008204/0.3353, allocations: 0.5529 MB / 462.6 MB, free: 20.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3353, allocations: 2.844 kB / 462.6 MB, free: 20.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000879/0.3362, allocations: 244 kB / 462.9 MB, free: 20.74 MB / 366.1 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.00239/0.3386, allocations: 1.404 MB / 464.3 MB, free: 19.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.3399, allocations: 0.5699 MB / 464.8 MB, free: 19.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/0.3399, allocations: 0 / 464.8 MB, free: 19.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006698/0.3406, allocations: 428.7 kB / 465.2 MB, free: 19.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007844/0.3413, allocations: 110.1 kB / 465.4 MB, free: 19.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008218/0.3496, allocations: 5.807 MB / 471.2 MB, free: 16.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.35, allocations: 0.9579 MB / 472.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003035/0.3503, allocations: 90.44 kB / 472.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/0.3506, allocations: 337.6 kB / 472.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3506, allocations: 1.375 kB / 472.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0521/0.4027, allocations: 17.62 MB / 490.2 MB, free: 5.602 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.98, allocations: 12.75 kB / 490.2 MB, free: 5.59 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.377518590015825] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe'] 12.1280983670149 12.145506417 12.010137896 Calling exit ...