Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008897/0.0008897, allocations: 175.2 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.271/1.271, allocations: 205.4 MB / 222.9 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007473/0.0007474, allocations: 90.41 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002794/0.0002797, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1961, allocations: 47.57 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.003372/0.1995, allocations: 4.355 MB / 379.4 MB, free: 41.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007792/0.2074, allocations: 9.505 MB / 388.9 MB, free: 34.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007132/0.2081, allocations: 14.38 kB / 389 MB, free: 34.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00163/0.2097, allocations: 0.5659 MB / 389.5 MB, free: 33.85 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002774/0.2125, allocations: 0.7394 MB / 390.3 MB, free: 33.28 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.2139, allocations: 413 kB / 390.7 MB, free: 32.97 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001861/0.2158, allocations: 1.239 MB / 391.9 MB, free: 31.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002377/0.216, allocations: 161.8 kB / 392.1 MB, free: 31.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.2163, allocations: 234.8 kB / 392.3 MB, free: 31.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.2165, allocations: 286.2 kB / 392.6 MB, free: 31.17 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.407e-05/0.2166, allocations: 16 kB / 392.6 MB, free: 31.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.2178, allocations: 0.6245 MB / 393.2 MB, free: 30.53 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.215e-05/0.2179, allocations: 91.38 kB / 393.3 MB, free: 30.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002379/0.2182, allocations: 387.5 kB / 393.7 MB, free: 30.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006601/0.2188, allocations: 0.892 MB / 394.6 MB, free: 29.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2188, allocations: 0 / 394.6 MB, free: 29.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2188, allocations: 4 kB / 394.6 MB, free: 29.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.2189, allocations: 0 / 394.6 MB, free: 29.16 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.001313/0.2202, allocations: 1.195 MB / 395.8 MB, free: 27.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.2202, allocations: 8.031 kB / 395.8 MB, free: 27.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.382e-05/0.2203, allocations: 119.6 kB / 395.9 MB, free: 27.78 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007009/0.221, allocations: 0.7543 MB / 396.6 MB, free: 26.97 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.2211, allocations: 20.56 kB / 396.7 MB, free: 26.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.887e-05/0.2211, allocations: 24 kB / 396.7 MB, free: 26.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005151/0.2216, allocations: 325.3 kB / 397 MB, free: 26.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.2217, allocations: 0 / 397 MB, free: 26.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.972e-05/0.2217, allocations: 19.94 kB / 397 MB, free: 26.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.2217, allocations: 8 kB / 397 MB, free: 26.58 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005403/0.2223, allocations: 298.2 kB / 397.3 MB, free: 26.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.2237, allocations: 1.368 MB / 398.7 MB, free: 24.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005785/0.2243, allocations: 326.4 kB / 399 MB, free: 24.51 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003451/0.2247, allocations: 261.3 kB / 399.3 MB, free: 24.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002996/0.2277, allocations: 3.597 MB / 402.9 MB, free: 20.1 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003535/0.228, allocations: 207.8 kB / 403.1 MB, free: 19.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 2.385e-06/0.228, allocations: 4 kB / 403.1 MB, free: 19.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.001325/0.2294, allocations: 0.755 MB / 403.8 MB, free: 19.08 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.2294, allocations: 59.39 kB / 403.9 MB, free: 19.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006513/0.2301, allocations: 0.8036 MB / 404.7 MB, free: 18.19 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.2301, allocations: 29.7 kB / 404.7 MB, free: 18.15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/0.2303, allocations: 456.4 kB / 405.2 MB, free: 17.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.21e-05/0.2304, allocations: 98.56 kB / 405.3 MB, free: 17.6 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.732e-05/0.2304, allocations: 4 kB / 405.3 MB, free: 17.6 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.108e-05/0.2305, allocations: 322 kB / 405.6 MB, free: 17.28 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.2307, allocations: 124.7 kB / 405.7 MB, free: 17.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002847/0.231, allocations: 236 kB / 405.9 MB, free: 16.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005142/0.2315, allocations: 384.9 kB / 406.3 MB, free: 16.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2315, allocations: 0 / 406.3 MB, free: 16.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007756/0.2323, allocations: 0.5378 MB / 406.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2323, allocations: 15.97 kB / 406.9 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.995e-05/0.2324, allocations: 31.98 kB / 406.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001811/0.2326, allocations: 49.7 kB / 406.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.2329, allocations: 79.88 kB / 407 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001175/0.234, allocations: 2.646 MB / 409.7 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.2343, allocations: 51.59 kB / 409.7 MB, free: 12.76 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.2344, allocations: 24 kB / 409.7 MB, free: 12.74 MB / 298.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 ($PRE.VIN.counter,VIN.counter,$whenCondition1,$PRE.VIN.T0,VIN.T0,$PRE.VIN.counter2,VIN.counter2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002109/0.2346, allocations: 201.8 kB / 409.9 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.785e-05/0.2347, allocations: 102.8 kB / 410 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009525/0.2356, allocations: 0.5087 MB / 410.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.2357, allocations: 4.078 kB / 410.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.2357, allocations: 7.938 kB / 410.6 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2357, allocations: 3.984 kB / 410.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004149/0.2361, allocations: 0.5506 MB / 411.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.202e-05/0.2361, allocations: 31.98 kB / 411.1 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.2364, allocations: 43.91 kB / 411.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001308/0.2365, allocations: 53.69 kB / 411.2 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.2365, allocations: 11.98 kB / 411.2 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001129/0.2377, allocations: 2.646 MB / 413.9 MB, free: 8.238 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2377, allocations: 4 kB / 413.9 MB, free: 8.234 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009938/0.2387, allocations: 0.6343 MB / 414.5 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.2389, allocations: 191.7 kB / 414.7 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.889e-05/0.239, allocations: 8.062 kB / 414.7 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.2392, allocations: 15.98 kB / 414.7 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.766e-05/0.2393, allocations: 31.95 kB / 414.8 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.2393, allocations: 12 kB / 414.8 MB, free: 7.305 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004879/0.2398, allocations: 0.535 MB / 415.3 MB, free: 6.762 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2398, allocations: 0 / 415.3 MB, free: 6.762 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005423/0.2403, allocations: 239.7 kB / 415.6 MB, free: 6.527 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004508/0.2408, allocations: 364.1 kB / 415.9 MB, free: 6.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008441/0.2417, allocations: 0.6091 MB / 416.5 MB, free: 5.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2417, allocations: 4.062 kB / 416.5 MB, free: 5.516 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004452/0.2421, allocations: 446.9 kB / 417 MB, free: 5.047 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.2426, allocations: 88.39 kB / 417 MB, free: 4.957 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.2445, allocations: 1.767 MB / 418.8 MB, free: 3.152 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.2447, allocations: 0.9561 MB / 419.8 MB, free: 2.168 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.87e-05/0.2448, allocations: 47.44 kB / 419.8 MB, free: 2.121 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2449, allocations: 0 / 419.8 MB, free: 2.121 MB / 298.7 MB Notification: Performance of Templates: time 0.01903/0.2639, allocations: 17.39 MB / 437.2 MB, free: 0.7227 MB / 314.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1)