Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009137/0.0009137, allocations: 76.88 kB / 22.29 MB, free: 2.047 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.001034/0.001034, allocations: 165.9 kB / 25.7 MB, free: 8.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8728/0.8728, allocations: 158.6 MB / 187.6 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] 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 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: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,tolerance=1e-08,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Q1.vbc|Q1.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.406e-05, allocations: 2.312 kB / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.005862/0.005886, allocations: 4.725 MB / 256.3 MB, free: 2.516 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01223/0.01812, allocations: 9.824 MB / 266.1 MB, free: 8.645 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007176/0.01883, allocations: 43.5 kB / 266.1 MB, free: 8.602 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.02009, allocations: 0.6226 MB / 266.7 MB, free: 7.973 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002255/0.02235, allocations: 1.053 MB / 267.8 MB, free: 6.914 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000921/0.02327, allocations: 0.6229 MB / 268.4 MB, free: 6.289 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001311/0.02458, allocations: 1.413 MB / 269.8 MB, free: 4.871 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.02476, allocations: 126.3 kB / 270 MB, free: 4.727 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000446/0.0252, allocations: 0.5418 MB / 270.5 MB, free: 4.184 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.02543, allocations: 239.1 kB / 270.7 MB, free: 3.949 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.167e-05/0.02547, allocations: 32 kB / 270.8 MB, free: 3.918 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007261/0.02619, allocations: 0.6362 MB / 271.4 MB, free: 3.281 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.164e-05/0.02627, allocations: 111.3 kB / 271.5 MB, free: 3.172 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.02645, allocations: 231.2 kB / 271.7 MB, free: 2.945 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008913/0.02734, allocations: 1.078 MB / 272.8 MB, free: 1.863 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.02735, allocations: 0 / 272.8 MB, free: 1.863 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.02735, allocations: 0 / 272.8 MB, free: 1.863 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.02736, allocations: 0 / 272.8 MB, free: 1.863 MB / 250.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.00112/0.02848, allocations: 1.249 MB / 274.1 MB, free: 0.582 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.02851, allocations: 11.98 kB / 274.1 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.02862, allocations: 100.8 kB / 274.2 MB, free: 484 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005838/0.0292, allocations: 0.6054 MB / 274.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.02922, allocations: 20.78 kB / 274.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.042e-05/0.02926, allocations: 31.98 kB / 274.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.02951, allocations: 221.5 kB / 275 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.02952, allocations: 0 / 275 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.02954, allocations: 15.98 kB / 275.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.02954, allocations: 4 kB / 275.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.02968, allocations: 99.16 kB / 275.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008837/0.03056, allocations: 0.8604 MB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.03077, allocations: 178.4 kB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.03088, allocations: 116.8 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001856/0.03273, allocations: 1.521 MB / 277.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/0.03287, allocations: 131.1 kB / 278 MB, free: 12.53 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.693e-06/0.03287, allocations: 0 / 278 MB, free: 12.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0004835/0.03336, allocations: 315 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.03339, allocations: 59.41 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004114/0.0338, allocations: 0.7341 MB / 279.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.03382, allocations: 25.7 kB / 279.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.03395, allocations: 290.8 kB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.268e-05/0.034, allocations: 99.14 kB / 279.5 MB, free: 10.97 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.558e-05/0.03408, allocations: 73.94 kB / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.09e-05/0.03416, allocations: 321.9 kB / 279.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.8e-05/0.03421, allocations: 36.81 kB / 279.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.03431, allocations: 136.5 kB / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.03448, allocations: 232.9 kB / 280.2 MB, free: 10.08 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.03448, allocations: 3.938 kB / 280.2 MB, free: 10.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002941/0.03478, allocations: 306.7 kB / 280.5 MB, free: 9.766 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.03479, allocations: 8.438 kB / 280.6 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/0.03481, allocations: 8 kB / 280.6 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001233/0.03493, allocations: 49.62 kB / 280.6 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.03508, allocations: 71.89 kB / 280.7 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/0.03611, allocations: 2.372 MB / 283.1 MB, free: 7.074 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.03625, allocations: 39.73 kB / 283.1 MB, free: 7.035 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.03627, allocations: 12 kB / 283.1 MB, free: 7.023 MB / 266.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.0001174/0.03639, allocations: 137.6 kB / 283.2 MB, free: 6.879 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.575e-05/0.03644, allocations: 71.91 kB / 283.3 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003506/0.03679, allocations: 301.7 kB / 283.6 MB, free: 6.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.0368, allocations: 4 kB / 283.6 MB, free: 6.496 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.0368, allocations: 0 / 283.6 MB, free: 6.496 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.0368, allocations: 0 / 283.6 MB, free: 6.496 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.03705, allocations: 318.1 kB / 283.9 MB, free: 6.168 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.77e-05/0.03707, allocations: 8 kB / 283.9 MB, free: 6.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.03717, allocations: 35.97 kB / 284 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.713e-05/0.03726, allocations: 45.67 kB / 284 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.03727, allocations: 11.92 kB / 284 MB, free: 6.062 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009331/0.03821, allocations: 2.364 MB / 286.4 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.03821, allocations: 0 / 286.4 MB, free: 3.523 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.03852, allocations: 319 kB / 286.7 MB, free: 3.188 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.03862, allocations: 99.22 kB / 286.8 MB, free: 3.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/0.03867, allocations: 7.984 kB / 286.8 MB, free: 3.082 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.643e-05/0.03876, allocations: 12 kB / 286.8 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.03882, allocations: 31.95 kB / 286.8 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.03883, allocations: 3.984 kB / 286.8 MB, free: 3.035 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002335/0.03907, allocations: 365.8 kB / 287.2 MB, free: 2.668 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03907, allocations: 0 / 287.2 MB, free: 2.668 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003797/0.03945, allocations: 251.4 kB / 287.4 MB, free: 2.422 MB / 266.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.0004234/0.03987, allocations: 393.6 kB / 287.8 MB, free: 2.027 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000391/0.04026, allocations: 428.1 kB / 288.3 MB, free: 1.578 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/0.04027, allocations: 12 kB / 288.3 MB, free: 1.566 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.04048, allocations: 340.2 kB / 288.6 MB, free: 1.199 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.04073, allocations: 100.4 kB / 288.7 MB, free: 1.102 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.04216, allocations: 1.343 MB / 290 MB, free: 15.72 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.589e-05/0.04225, allocations: 149.5 kB / 290.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.00015/0.0424, allocations: 85.19 kB / 290.3 MB, free: 15.47 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.04258, allocations: 159.3 kB / 290.4 MB, free: 15.31 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.04258, allocations: 0 / 290.4 MB, free: 15.31 MB / 282.7 MB Notification: Performance of Templates: time 0.01227/0.05485, allocations: 9.615 MB / 300 MB, free: 5.73 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.7118371287360787]